File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111jobs :
1212 build :
1313
14- runs-on : ubuntu-latest
15- # runs-on: $
16- # strategy:
17- # matrix:
18- # os: [macOS-latest, ubuntu-latest, windows-latest]
14+ runs-on : windows-latest
1915
2016 steps :
2117 - name : Checkout
2218 - uses : actions/checkout@v2
2319
24- - name : Setup .NET Core
25- uses : actions/setup-dotnet@v1
26- with :
27- dotnet-version : 3.1.101
28- # if: matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest'
29-
3020 - name : Build (Release)
3121 run : dotnet build --configuration Release
3222
4030 if : github.event_name == 'push'
4131 run : |
4232 if ( "${{github.ref}}" -match "^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$" ) {
43- dotnet nuget push Raptorious.SharpMt940Lib\bin\Release\*.nupkg -s nuget.org -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json
33+ dotnet nuget push Raptorious.SharpMt940Lib\bin\Release\*.nupkg -s nuget.org -k ${{secrets.NUGET_TOKEN}}
4434 } else {
4535 echo "publish is only enabled by tagging with a release tag"
4636 }
You can’t perform that action at this time.
0 commit comments