Nuget pack only pushes one package at a time

This commit is contained in:
Caelan Sayler
2022-05-22 23:02:29 +01:00
parent 51c09f86dc
commit 6cdece0e1d
2 changed files with 5 additions and 2 deletions

View File

@@ -98,8 +98,10 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: signed-packages
name: packages-final
path: "*.nupkg"
- name: Publish Dev NuGet Package
run: |
nuget push *.nupkg -ApiKey ${{ secrets.GITHUB_TOKEN }} -Source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -SkipDuplicate
export NUGET_VERSION=$(./nbgv get-version -f json | python3 -c "import sys, json; print(json.load(sys.stdin)['NuGetPackageVersion'])")
nuget push csq.${NUGET_VERSION}.nupkg -ApiKey ${{ secrets.GITHUB_TOKEN }} -Source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -SkipDuplicate
nuget push Clowd.Squirrel.${NUGET_VERSION}.nupkg -ApiKey ${{ secrets.GITHUB_TOKEN }} -Source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -SkipDuplicate