Skip to content

Commit 1815ed0

Browse files
committed
ci: fix path of nupkg in artifact
1 parent 593c269 commit 1815ed0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
with:
4646
name: nuget
4747
path: artifacts/nuget
48+
if-no-files-found: error
4849

4950
prerelease:
5051
runs-on: ubuntu-latest
@@ -63,7 +64,7 @@ jobs:
6364
name: nuget
6465

6566
- name: Push to GitHub feed
66-
run: dotnet nuget push nuget/*.nupkg
67+
run: dotnet nuget push *.nupkg
6768
--api-key "${{secrets.GITHUB_TOKEN}}"
6869
--source "https://nuget.pkg.github.com/${{github.repository_owner}}/"
6970
--skip-duplicate
@@ -79,7 +80,7 @@ jobs:
7980
- name: Setup dotnet
8081
uses: actions/setup-dotnet@v1
8182
with:
82-
dotnet-version: '8.0.101'
83+
dotnet-version: '9.0.101'
8384
include-prerelease: true
8485

8586
- name: Prepare

0 commit comments

Comments
 (0)