Skip to content

Commit b193511

Browse files
committed
Fix wildcard pattern by cd into nupkg directory first
1 parent 54b5773 commit b193511

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ jobs:
3030
run: dotnet pack src/XperienceCommunity.Sustainability.csproj --configuration Release --no-build --output nupkg
3131

3232
- name: Publish to NuGet using Trusted Publishing
33-
run: dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
33+
run: |
34+
cd nupkg
35+
dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)