File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,17 +37,17 @@ jobs:
3737# run: dotnet test -c Release --no-restore --no-build -v normal
3838
3939 - name : Pack NuGet Package(s)
40- run : dotnet pack -c Release --no-restore --no-build --output "$env:USERPROFILE \nuget-packages"
40+ run : dotnet pack -c Release --no-restore --no-build --output "${{ github.workspace }} \nuget-packages"
4141
4242 - name : Upload Build Artifact(s)
4343 uses : actions/upload-artifact@v4
4444 with :
4545 name : nuget-packages
46- path : " $env:USERPROFILE \n uget-packages"
46+ path : " ${{ github.workspace }} \n uget-packages"
4747
4848# - name: Push NuGet Package(s) to nuget.org
4949# run: |
50- # dotnet nuget push "$env:USERPROFILE \nuget-packages\*.nupkg" `
50+ # dotnet nuget push "${{ github.workspace }} \nuget-packages\*.nupkg" `
5151# --source https://api.nuget.org/v3/index.json `
5252# --api-key ${{ secrets.NUGET_API_KEY }} `
5353# --skip-duplicate
6363
6464 # - name: Push NuGet Package(s) to GitHub
6565 # run: |
66- # dotnet nuget push "$env:USERPROFILE \nuget-packages\*.nupkg" `
66+ # dotnet nuget push "${{ github.workspace }} \nuget-packages\*.nupkg" `
6767 # --source github `
6868 # --api-key ${{ secrets.GITHUB_TOKEN }} `
6969 # --skip-duplicate
You can’t perform that action at this time.
0 commit comments