Release Build CI #5
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: Release Build CI | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Give permission to executable | |
run: chmod +x gradlew | |
- name: Build with gradle | |
uses: gradle/[email protected] | |
with: | |
gradle-version: nightly | |
arguments: assembleRelease | |
- name: Upload release apk | |
uses: actions/upload-artifact@v3 | |
with: | |
name: apk-release.apk | |
path: app/build/outputs/apk/release/app-release.apk | |