Skip to content

Commit 25d400c

Browse files
committed
workflow final fix (please)
1 parent 62467e0 commit 25d400c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build-test-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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\nuget-packages"
46+
path: "${{ github.workspace }}\nuget-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
@@ -63,7 +63,7 @@ jobs:
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

0 commit comments

Comments
 (0)