Skip to content

Commit

Permalink
Update dotnet-nuget-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle079 authored Feb 1, 2024
1 parent e6b2522 commit abe412c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/dotnet-nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: ./NewZipAPI


working-directory: ./NewZipAPI

- name: Pack
run: dotnet pack --configuration Release --no-build --output nupkgs
Expand All @@ -38,9 +36,10 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: nuget-packages
path: nupkgs/*.nupkg
path: ./NewZipAPI/bin/Debug/*nupkg


- name: Push to GitHub Packages
run: dotnet nuget push "nupkgs/*.nupkg" --source "https://nuget.pkg.github.com/kyle079/index.json"
run: dotnet nuget push "./NewZipAPI/bin/Debug/*nupkg/*.nupkg" --source "https://nuget.pkg.github.com/kyle079/index.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit abe412c

Please sign in to comment.