mirror of https://github.com/ppy/SDL3-CS.git
Adjust deploy script to build all packages
This commit is contained in:
parent
c563ecc3be
commit
32b5f88a5e
|
|
@ -26,16 +26,16 @@ jobs:
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
- name: Install .NET workloads
|
- name: Install .NET workloads
|
||||||
run: dotnet workload restore SDL3-CS/SDL3-CS.csproj
|
run: dotnet workload restore
|
||||||
|
|
||||||
- name: Build & pack
|
- 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
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: SDL3-CS
|
name: Packages
|
||||||
path: SDL3-CS/bin/Release/ppy.*.nupkg
|
path: artifacts/ppy.*.nupkg
|
||||||
|
|
||||||
- name: Publish tagged release to nuget.org
|
- 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}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue