Skip to content

Automatically build release apk when pushing #1

Automatically build release apk when pushing

Automatically build release apk when pushing #1

Workflow file for this run

name: Artifact Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run Gradle
run: ./gradlew assembleRelease
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: "Release APK"
retention-days: 90
path: "app/build/outputs/apk/release/*.apk"