forked from Crazy-Marvin/MetadataRemover
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) 路 1001 Bytes
/
Copy pathdeploy.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@v4
- name: "馃О Install JDK"
uses: actions/setup-java@v4
with:
java-version: 1.8
java-package: jdk
- name: "馃О Install Android SDK"
uses: android-actions/setup-android@v3
- 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