Skip to content

Commit bda76d9

Browse files
authored
Merge pull request #18 from liamgold/fix/nuget-publish-no-build
Remove --no-build flag from pack step in publish workflow
2 parents 4b66417 + 54b5773 commit bda76d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: dotnet build src/XperienceCommunity.Sustainability.csproj --configuration Release --no-restore
2828

2929
- name: Pack
30-
run: dotnet pack src/XperienceCommunity.Sustainability.csproj --configuration Release --no-build
30+
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 src/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
33+
run: dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)