mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Nuget pack only pushes one package at a time
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -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
|
||||
@@ -47,6 +47,7 @@ dotnet publish -v minimal --no-build -c Release --self-contained "$PSScriptRoot\
|
||||
Write-Host "Copying Tools" -ForegroundColor Magenta
|
||||
New-Item -Path "squirrel" -Name "tools" -ItemType "directory"
|
||||
Copy-Item -Path "$ToolsDir\*" -Destination "squirrel\tools" -Recurse
|
||||
Remove-Item "squirrel\tools\*.xml"
|
||||
|
||||
Write-Host "Re-assembling Packages" -ForegroundColor Magenta
|
||||
seven a "csq.$version.nupkg" -tzip -mx9 "$PSScriptRoot\build\Release\csq\*"
|
||||
|
||||
Reference in New Issue
Block a user