-
Notifications
You must be signed in to change notification settings - Fork 11
40 lines (36 loc) · 1.06 KB
/
dotnet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: SecretSharingDotNet .NET
on:
push:
branches:
- '*'
tags-ignore:
- '*'
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
strategy:
matrix:
dotnet: [ '6.0.414', '7.0.401' ]
name: Dotnet ${{ matrix.dotnet }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Build with dotnet SDK v6.0
if: matrix.dotnet == '6.0.414'
run: dotnet build --configuration Release SecretSharingDotNet6.sln
- name: Test with dotnet SDK v6.0
if: matrix.dotnet == '6.0.414'
run: dotnet test --configuration Release SecretSharingDotNet6.sln
- name: Build with dotnet SDK v7.0
if: matrix.dotnet == '7.0.401'
run: dotnet build --configuration Release SecretSharingDotNet7.sln
- name: Test with dotnet SDK v7.0
if: matrix.dotnet == '7.0.401'
run: dotnet test --configuration Release SecretSharingDotNet7.sln