Skip to content

Commit

Permalink
Merge pull request #48 from smoogipoo/fix-android-nupkg-upload
Browse files Browse the repository at this point in the history
Fix path separator on Windows runner
  • Loading branch information
smoogipoo authored Apr 17, 2024
2 parents 2e09656 + ee29df1 commit 0bb695e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit 0bb695e

Please sign in to comment.