Skip to content

Commit

Permalink
Update build-android-demo-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaz authored Oct 8, 2023
1 parent 7d2e9eb commit 658b08e
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/build-android-demo-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,27 @@ jobs:
run: |
mkdir -p local_package
./build.sh
- name: Setup Android SDK Tools
uses: android-actions/[email protected]
- name: Publish package
run: dotnet publish ./sample.Android/AvaloniaGraphControlSample.Android.csproj -p:UseControlOnNuget=True -c Release -p:PublishTrimmed=true
- name: Android Sign
uses: Tlaster/[email protected]
- name: Upload unsigned package as artifact
uses: actions/[email protected]
with:
name: android-unsigned
path: sample.Android/bin/Release/net7.0-android/publish
retention-days: 0
- name: Sign Android
uses: noriban/sign-android-release@v3
id: sign_app
with:
releaseDirectory: sample.Android/bin/Release/net7.0-android/publish/
releaseDirectory: sample.Android/bin/Release/net7.0-android/publish
signingKeyBase64: ${{secrets.KEYSTORE}}
alias: ${{secrets.SIGNINGKEY_ALIAS}}
keyStorePassword: ${{secrets.KEYSTORE_PASSWORD}}
keyPassword: ${{secrets.SIGNINGKEY_PASSWORD}}
- name: Upload a Build Artifact
- name: Upload signed package as artifact
uses: actions/[email protected]
with:
name: android-signed
path: build/signed
path: ${{steps.sign_app.outputs.signedReleaseFile}}
retention-days: 0

0 comments on commit 658b08e

Please sign in to comment.