generated from maximegris/angular-electron
-
-
Notifications
You must be signed in to change notification settings - Fork 104
47 lines (41 loc) · 1.21 KB
/
release-apk.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
43
44
45
46
47
name: 'Release APK'
on:
repository_dispatch:
types: [ release-apk ]
workflow_dispatch:
inputs:
version:
description: 'Version to fetch from Google Play'
required: true
jobs:
upload-signed-apk:
name: Upload Signed APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Extract Version
id: pkg-version
uses: saionaro/[email protected]
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: 'true'
- name: Download APK
id: download-apk
uses: maierj/[email protected]
with:
lane: download_apk
verbose: ${{ runner.debug }}
env:
GOOGLE_JSON_KEY_DATA: ${{ secrets.GOOGLE_JSON_KEY_DATA }}
- name: Create Release
uses: ncipollo/release-action@v1
with:
name: Dev Manager ${{ steps.pkg-version.outputs.version }}
tag: v${{ steps.pkg-version.outputs.version }}
allowUpdates: true
omitNameDuringUpdate: true
omitBodyDuringUpdate: true
omitPrereleaseDuringUpdate: true
artifacts: fastlane/downloads/*.apk