Merge pull request #1187 from joreilly/update-graphql-github-action #100
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: Publish Android | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'androidApp/**' | |
- 'shared/**' | |
- ".github/workflows/**" | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/[email protected] | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Build | |
run: | | |
./gradlew :androidApp:assembleGithubRelease | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: androidApp-githubRelease.apk | |
path: androidApp/build/outputs/apk/release/androidApp-githubRelease.apk |