Skip to content

Commit 19f1213

Browse files
author
Nicholas Bergesen
authored
Update PublishNugetPackage.yml
1 parent 5bf3507 commit 19f1213

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/PublishNugetPackage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ jobs:
1111
Test:
1212
runs-on: windows-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Setup .NET
1616
uses: actions/setup-dotnet@v1
1717
with:
1818
dotnet-version: 6.0.x
19-
- run: dotnet test
19+
- run: dotnet test UnitTests/UnitTests.csproj
2020
Publish-Nuget:
2121
needs: Test
2222
runs-on: windows-latest
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: Setup .NET
2626
uses: actions/setup-dotnet@v1
2727
with:
@@ -31,6 +31,6 @@ jobs:
3131
- name: Publish
3232
run: dotnet pack -c Release
3333
- name: Push to Nuget
34-
run: dotnet nuget push ./Nick.RobotsParser/bin/Release/Nick.RobotsParser.2.0.2.nupkg --api-key ${{ secrets.NUGETAPIKEY }} -s https://api.nuget.org/v3/index.json
34+
run: dotnet nuget push ./Nick.RobotsParser/bin/Release/Nick.RobotsParser.2.0.3.nupkg --api-key ${{ secrets.NUGETAPIKEY }} -s https://api.nuget.org/v3/index.json
3535
- name: Clean
3636
run: dotnet clean

0 commit comments

Comments
 (0)