Skip to content
/ oss Public

Commit fcfc66a

Browse files
authored
Set working directory for nuget push
This should make things work regardless of agent OS
1 parent 0345b45 commit fcfc66a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
env:
4646
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
4747
if: ${{ env.NUGET_API_KEY != '' && github.event.action != 'prereleased' }}
48-
run: dotnet nuget push ./bin/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
48+
working-directory: bin
49+
run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
4950

5051
- name: 🚀 sleet
5152
env:

0 commit comments

Comments
 (0)