Release Build CI #9
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: Release Build CI | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4.2.1 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Build Full Release Bundle | |
run: ./gradlew bundleFullRelease | |
- name: Give permission to executable | |
run: chmod +x gradlew | |
- name: Build Full Release APK | |
run: ./gradlew assembleFullRelease | |
- name: Build Lite Release APK | |
run: ./gradlew assembleLiteRelease | |
- name: Upload Full Release Bundle | |
uses: actions/upload-artifact@v4 | |
with: | |
name: full-release-bundle | |
path: app/build/outputs/bundle/fullRelease/app-full-release.aab | |
- name: Upload Full Release APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: full-release-apk | |
path: app/build/outputs/apk/full/release/app-full-release.apk | |
- name: Upload Lite Release APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: lite-release-apk | |
path: app/build/outputs/apk/lite/release/app-lite-release.apk |