-
-
Notifications
You must be signed in to change notification settings - Fork 22
33 lines (33 loc) · 1001 Bytes
/
deploy.yml
File metadata and controls
33 lines (33 loc) · 1001 Bytes
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
name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: macos-10.15
steps:
- name: "📥 Check-out"
uses: actions/checkout@v6
- name: "🧰 Install JDK"
uses: actions/setup-java@v5
with:
java-version: 1.8
java-package: jdk
- name: "🧰 Install Android SDK"
uses: android-actions/setup-android@v4
- name: "🕶 Decrypt secret files"
run: |
cd secret
gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.FILES_PASSPHRASE }}" --output secrets.tar secrets.tar.gpg
tar -xf secrets.tar
- name: "📁 Copy local CI properties"
run: cp ci/local.properties ./
- name: "🏗 Build"
run: ./gradlew assembleDebug
- name: "🚀 GitHub release"
run: ./gradlew githubRelease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "🚀 Google Play publish"
run: ./gradlew publishRelease