Skip to content

Commit 1398ce2

Browse files
committed
Tweak ci.ym;
1 parent fe895ae commit 1398ce2

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,16 @@ jobs:
2020
runs-on: [macOS-latest, ubuntu-latest, windows-latest]
2121
name: ${{ matrix.runs-on }}
2222
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+
2730
- if: contains(matrix.runs-on, 'macOS') || contains(matrix.runs-on, 'ubuntu')
2831
run: ./build.sh
2932
- if: matrix.runs-on == 'windows-latest' && github.ref != 'refs/heads/main' && !contains(github.ref, 'refs/tags/')
3033
run: ./build.ps1
3134
- 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

0 commit comments

Comments
 (0)