Build binary files for release #5
Workflow file for this run
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: Build binary files for release | |
on: | |
release: | |
types: | |
- 'created' | |
- 'edited' | |
jobs: | |
build-main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
cache: 'gradle' | |
- run: ./gradlew assembleRelease --stacktrace | |
- run: ./gradlew bundleRelease --stacktrace | |
- name: Upload APK Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
./app/build/outputs/bundle/release/*.apk | |
- name: Upload AAB (App Bundle) Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
./app/build/outputs/bundle/release/*.aab |