Merge pull request #1228 from joreilly/coil3_updates #110
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 |