-
Notifications
You must be signed in to change notification settings - Fork 11
37 lines (29 loc) · 1012 Bytes
/
dotnetfx.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
name: SecretSharingDotNet .NET FX
on:
push:
branches:
- '*'
tags-ignore:
- '*'
paths-ignore:
- '**.md'
jobs:
build:
runs-on: windows-2019
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup Nuget.exe
uses: nuget/[email protected]
with:
nuget-version: latest
- name: Nuget Restore
run: nuget restore $Env:GITHUB_WORKSPACE\SecretSharingDotNetFx4.6.2.sln
- name: Build with mbsuild
run: |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"
.\MSBuild.exe /p:Configuration=Release $Env:GITHUB_WORKSPACE\SecretSharingDotNetFx4.6.2.sln
- name: Test with xUnit.net console runner
run: |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"
.\MSBuild.exe /p:Configuration=Release $Env:GITHUB_WORKSPACE\tests\SecretSharingDotNetFx4.6.2Test.csproj /t:Test