Adjust deploy script to build all packages

This commit is contained in:
Dan Balasescu 2025-06-20 00:45:54 +09:00
parent c563ecc3be
commit 32b5f88a5e
No known key found for this signature in database
1 changed files with 5 additions and 5 deletions

View File

@ -26,16 +26,16 @@ jobs:
uses: android-actions/setup-android@v3
- name: Install .NET workloads
run: dotnet workload restore SDL3-CS/SDL3-CS.csproj
run: dotnet workload restore
- name: Build & pack
run: dotnet pack SDL3-CS/SDL3-CS.csproj -c Release /p:Version=$(git describe --exact-match --tags HEAD)
run: dotnet pack -c Release /p:Version=$(git describe --exact-match --tags HEAD) -o artifacts
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: SDL3-CS
path: SDL3-CS/bin/Release/ppy.*.nupkg
name: Packages
path: artifacts/ppy.*.nupkg
- name: Publish tagged release to nuget.org
run: dotnet nuget push SDL3-CS/bin/Release/ppy.*.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}
run: dotnet nuget push artifacts/ppy.*.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}