-
Notifications
You must be signed in to change notification settings - Fork 187
43 lines (40 loc) · 1.24 KB
/
release-build.yml
File metadata and controls
43 lines (40 loc) · 1.24 KB
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
43
name: Release
on:
release:
types: [published]
jobs:
build:
strategy:
matrix:
build-type: [release, insecure]
name: Build ${{ matrix.build-type }}
uses: ./.github/workflows/build-apk.yml
with:
version-name: ${{ github.ref_name }}
build-type: ${{ matrix.build-type }}
secrets:
google-services-json: ${{ secrets.GOOGLE_SERVICES_JSON }}
signing-key-store-base64: ${{ secrets.SIGNING_KEY_STORE_BASE64 }}
signing-key-alias: ${{ secrets.SIGNING_KEY_ALIAS }}
signing-key-password: ${{ secrets.SIGNING_KEY_PASSWORD }}
signing-store-password: ${{ secrets.SIGNING_STORE_PASSWORD }}
release:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/download-artifact@v4
with:
name: release-artifacts
- uses: actions/download-artifact@v4
with:
name: insecure-artifacts
- name: Create Github Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
prerelease: true
files: |
./apk/release/app-release.apk
./bundle/release/app-release.aab
./apk/insecure/app-insecure.apk
./bundle/insecure/app-insecure.aab