Skip to content

Commit bc4858b

Browse files
committed
Fix nupkg path, run tests
1 parent e3e4023 commit bc4858b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/default.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ jobs:
1616
dotnet-version: 6.x
1717
- name: Install dependencies
1818
run: dotnet restore
19+
- name: Tests
20+
run: dotnet test
1921
- name: Build
2022
run: dotnet build -c Release
2123
- name: Upload NuGet Artifact
2224
uses: actions/upload-artifact@v2
2325
with:
2426
name: Fmod5Sharp.nupkg
25-
path: bin/Release/*.nupkg
27+
path: Fmod5Sharp/bin/Release/*.nupkg
2628
- name: Upload to NuGet
2729
if: contains(github.event.head_commit.message, '[publish]') == true
28-
run: dotnet nuget push ./bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY
30+
run: dotnet nuget push ./Fmod5Sharp/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY

0 commit comments

Comments
 (0)