Remove accidentally included APK file #652
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: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: set up JDK 21 | |
uses: actions/setup-java@main | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Build with Gradle | |
run: ./gradlew app:assembleRelease | |
- name: Rename signed apk | |
run: mv app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/ChromeXt.apk | |
- uses: noriban/sign-android-release@master | |
name: Sign app APK | |
id: sign_app | |
with: | |
releaseDirectory: app/build/outputs/apk/release | |
signingKeyBase64: ${{ secrets.SIGNING_KEY }} | |
alias: ${{ secrets.ALIAS }} | |
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | |
keyPassword: ${{ secrets.KEY_PASSWORD }} | |
- name: Upload signed APK | |
uses: actions/upload-artifact@main | |
with: | |
name: ChromeXt.apk | |
path: ${{steps.sign_app.outputs.signedReleaseFile}} | |
- name: Collect signed APK | |
uses: actions/download-artifact@main | |
with: | |
name: ChromeXt.apk |