forked from microg/GmsCore
-
-
Notifications
You must be signed in to change notification settings - Fork 116
42 lines (35 loc) · 1.04 KB
/
release.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
41
42
name: Release
on:
push:
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache Gradle
uses: burrunan/gradle-cache-action@v1
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- name: Build
run: ./gradlew --no-daemon :play-services-core:assembleMapboxDefault
- name: Sign
id: sign_apk
uses: ilharp/sign-android-release@v1
with:
releaseDir: play-services-core/build/outputs/apk/mapboxDefault/release
signingKey: ${{ secrets.SIGNING_KEYSTORE }}
keyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: ${{steps.sign_apk.outputs.signedFile}}