-
-
Notifications
You must be signed in to change notification settings - Fork 7
41 lines (39 loc) · 1.1 KB
/
create-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
on:
push:
tags:
- "*"
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4.1.7
- name: Set up Ruby
uses: ruby/setup-ruby@v1.185.0
with:
bundler-cache: true
- name: Set up Java
uses: actions/setup-java@v4.2.1
with:
distribution: "zulu"
java-version: "17"
- name: Build APK
env:
ENCODED_GOOGLE_SERVICES: ${{ secrets.ENCODED_GOOGLE_SERVICES }}
ENCODED_RELEASE_KEYSTORE: ${{ secrets.ENCODED_RELEASE_KEYSTORE }}
ENCODED_SECRETS_PROPERTIES: ${{ secrets.ENCODED_SECRETS_PROPERTIES }}
run: make deploy-github-release
- name: Create Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
generate_release_notes: true
draft: false
prerelease: false
files: |
app/build/outputs/apk/free/release/app-free-release.apk