Skip to content

Commit adb9ec3

Browse files
authored
Update dotnetcore.yml
1 parent ebc9ead commit adb9ec3

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/dotnetcore.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,12 @@ on:
1111
jobs:
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

@@ -40,7 +30,7 @@ jobs:
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
}

0 commit comments

Comments
 (0)