[PR] Firebase Cloud Message Service #6
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: Generate Build Artifact | |
on: | |
pull_request: | |
branches: ["main", "release"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Java JDk | |
uses: actions/[email protected] | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Change permissions of Wrapper | |
run: chmod +x ./gradlew | |
- name: Decode BASEURL | |
env: | |
BASEURL: ${{ secrets.BASEURL }} | |
run: echo BASEURL="$BASEURL" > ./local.properties | |
- name: Clean Project | |
run: ./gradlew clean | |
- name: Build with Gradle | |
run: ./gradlew | |
- name: Generate and upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: KNUTICE_RC.apk | |
path: app/build/outputs/apk/debug/app-debug.apk |