Merge pull request #48 from smoogipoo/fix-android-nupkg-upload

Fix path separator on Windows runner
This commit is contained in:
Dan Balasescu 2024-04-18 01:52:08 +09:00 committed by GitHub
commit 0bb695ed2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -48,13 +48,13 @@ jobs:
run: dotnet build SDL3-CS.Android.slnf -c Release
- name: Pack
run: dotnet pack SDL3-CS.Android/SDL3-CS.Android.csproj -c Release /p:Version=$(git describe --exact-match --tags HEAD)
run: dotnet pack SDL3-CS.Android\SDL3-CS.Android.csproj -c Release /p:Version=$(git describe --exact-match --tags HEAD)
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: SDL3-CS.Android
path: SDL3-CS.Android/bin/Release/ppy.*.nupkg
path: SDL3-CS.Android\bin\Release\ppy.*.nupkg
- name: Publish tagged release to nuget.org
run: dotnet nuget push SDL3-CS.Android/bin/Release/ppy.*.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}
run: dotnet nuget push SDL3-CS.Android\bin\Release\ppy.*.nupkg -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}