yoesuv is building Info Malang Batu π #10
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: Info Malang Batu | |
run-name: ${{ github.actor }} is building Info Malang Batu π | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
Explore-GitHub-Actions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: List files in the repository initial | |
run: ls ${{ github.workspace }} | |
- uses: actions/checkout@v3 | |
- name: Decrypt GPG api keys | |
run: gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.API_KEY_PASSPHRASE }}" --output "${{ github.workspace }}"/apiKey.properties apiKey.properties.gpg | |
- name: List files in the repository after decrypt | |
run: ls ${{ github.workspace }} | |
- name: Setup Java JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name : Verify Java Version | |
run: java --version | |
- name: Setup Android SDK Tools | |
uses: android-actions/[email protected] | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: build apk release | |
run: ./gradlew assembleRelease | |
- run: echo "π This job's status is ${{ job.status }}." |