feat(sign): use signflinger to sign archive instead of apksigner #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
# push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build debug apk | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/[email protected] | |
- name: set up JDK 18 | |
uses: actions/[email protected] | |
with: | |
java-version: '18' | |
distribution: 'temurin' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with gradle | |
uses: gradle/[email protected] | |
with: | |
arguments: assembleDebug | |
- name: Upload debug apk | |
uses: actions/[email protected] | |
if: ${{ !github.head_ref }} | |
with: | |
name: apk-debug | |
path: app/build/outputs/apk/debug |