File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,16 @@ jobs:
20
20
runs-on : [macOS-latest, ubuntu-latest, windows-latest]
21
21
name : ${{ matrix.runs-on }}
22
22
runs-on : ${{ matrix.runs-on }}
23
- steps :
24
- - uses : actions/checkout@af513c7a016048ae468971c52ed77d9562c7c819
25
- - run : dotnet --info
26
-
23
+ steps :
24
+ - uses : actions/checkout@v3
25
+ - name : Setup .NET
26
+ uses : actions/setup-dotnet@v2
27
+ with :
28
+ dotnet-version : 7.0.x
29
+
27
30
- if : contains(matrix.runs-on, 'macOS') || contains(matrix.runs-on, 'ubuntu')
28
31
run : ./build.sh
29
32
- if : matrix.runs-on == 'windows-latest' && github.ref != 'refs/heads/main' && !contains(github.ref, 'refs/tags/')
30
33
run : ./build.ps1
31
34
- if : (matrix.runs-on == 'windows-latest') && (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
32
- env :
33
- SignClientSecret : ${{ secrets.SIGNCLIENT }}
34
- run : |
35
- ./build.ps1 sign
36
- dotnet nuget push .\nuget\*.nupkg -s https://www.myget.org/F/identity/api/v2/package -k ${{ secrets.MYGET }}
35
+ run : ./build.ps1
You can’t perform that action at this time.
0 commit comments