Skip to content

Commit f40ca1e

Browse files
fix nuget action
1 parent 28666fa commit f40ca1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
run: dotnet build ./Testimize/Testimize.csproj --configuration Release --no-restore
3232

3333
- name: Ensure output directory exists
34-
run: mkdir -p ${{ github.workspace }}/nupkg
34+
run: mkdir -p ./nupkg
3535

3636
- name: Pack NuGet Package
37-
run: dotnet pack ./Testimize/Testimize.csproj --configuration Release --no-build --output ${{ github.workspace }}/nupkg
37+
run: dotnet pack ./Testimize/Testimize.csproj --configuration Release --no-build --output ./nupkg
3838

3939
- name: List contents of nupkg folder (debugging)
40-
run: ls -la ${{ github.workspace }}/nupkg
40+
run: ls -la ./nupkg
4141

4242
- name: Push to NuGet.org
43-
run: dotnet nuget push ${{ github.workspace }}/nupkg/*.nupkg --api-key ${{ secrets.NUGETKEY }} --source https://api.nuget.org/v3/index.json
43+
run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGETKEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)