Skip to content

Commit

Permalink
build: add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Jun 15, 2024
1 parent 596cc1b commit f6fdfee
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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: actions/upload-artifact@v3
with:
path: ${{ env.main_project_module }}/build/outputs/apk/release/
- name: Upload AAB (App Bundle) Release
uses: actions/upload-artifact@v3
with:
path: ${{ env.main_project_module }}/build/outputs/bundle/release/

0 comments on commit f6fdfee

Please sign in to comment.