-
-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (33 loc) · 1018 Bytes
/
release-legacy.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
37
38
39
40
name: release legacy
on:
push:
tags:
- "v*-legacy"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- uses: actions/setup-java@v1
with:
java-version: '8'
- name: "Build release apk"
run: ./gradlew assembleRelease --stacktrace
- name: "Sign release"
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: "Rename archive"
run: mv ${{ steps.sign_app.outputs.signedReleaseFile }} app-release.apk
- name: "Create GitHub release"
uses: softprops/action-gh-release@v1
with:
files: app-release.apk
fail_on_unmatched_files: true