-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 1.21 KB
/
github-actions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 }}."