Skip to content

Commit 4c0d369

Browse files
committed
feat: minor changes
1 parent bf9c51c commit 4c0d369

File tree

1 file changed

+56
-20
lines changed

1 file changed

+56
-20
lines changed

.github/workflows/production.yml

Lines changed: 56 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,57 @@
11
name: Deploy App Play Store
22

33
on:
4-
push:
5-
# branches:
6-
# - master
7-
tags:
8-
- 'v*'
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Github release version'
8+
required: true
9+
type: string
10+
release:
11+
types: [ published ]
912

1013
jobs:
1114
build:
1215
runs-on: ubuntu-latest
1316
steps:
1417

1518
- uses: actions/checkout@v4
16-
17-
- name: Setting up project
18-
uses: ./.github/actions/setup
19+
20+
- uses: robinraju/release-downloader@v1
21+
with:
22+
# The github tag. e.g: v1.0.1
23+
# Download assets from a specific tag/version
24+
tag: ${{ github.event.release.name || github.event.inputs.release }}
25+
# The name of the file to download.
26+
# Use this field only to specify filenames other than tarball or zipball, if any.
27+
# Supports wildcard pattern (eg: '*', '*.deb', '*.zip' etc..)
28+
fileName: 'keypass-free-*.apk'
29+
# Relative path under $GITHUB_WORKSPACE to place the downloaded file(s)
30+
# It will create the target directory automatically if not present
31+
# eg: out-file-path: "my-downloads" => It will create directory $GITHUB_WORKSPACE/my-downloads
32+
out-file-path: 'app/build/outputs/bundle/freeRelease'
33+
# Github access token to download files from private repositories
34+
# https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
35+
# eg: token: ${{ secrets.MY_TOKEN }}
36+
token: ${{ secrets.GITHUB_TOKEN }}
37+
38+
- uses: robinraju/release-downloader@v1
39+
with:
40+
# The github tag. e.g: v1.0.1
41+
# Download assets from a specific tag/version
42+
tag: ${{ github.event.release.name || github.event.inputs.release }}
43+
# The name of the file to download.
44+
# Use this field only to specify filenames other than tarball or zipball, if any.
45+
# Supports wildcard pattern (eg: '*', '*.deb', '*.zip' etc..)
46+
fileName: 'keypass-pro-*.apk'
47+
# Relative path under $GITHUB_WORKSPACE to place the downloaded file(s)
48+
# It will create the target directory automatically if not present
49+
# eg: out-file-path: "my-downloads" => It will create directory $GITHUB_WORKSPACE/my-downloads
50+
out-file-path: 'app/build/outputs/bundle/proRelease'
51+
# Github access token to download files from private repositories
52+
# https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
53+
# eg: token: ${{ secrets.MY_TOKEN }}
54+
token: ${{ secrets.GITHUB_TOKEN }}
1955

2056
- name: Build Free Release AAB
2157
id: buildFreeRelease
@@ -73,15 +109,15 @@ jobs:
73109
status: inProgress
74110
whatsNewDirectory: whatsnew/
75111

76-
- name: Deploy Free to Indus App Store
77-
id: uploadToIndus
78-
uses: yogeshpaliyal/[email protected]
79-
with:
80-
type: UPLOAD_AAB
81-
apiKey: ${{secrets.INDUS_API_KEY}}
82-
packageName: com.yogeshpaliyal.keypass
83-
aabFile: app/build/outputs/bundle/freeRelease/*.aab
84-
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
85-
keystoreAlias: ${{ secrets.ALIAS }}
86-
keystorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
87-
keyPassword: ${{ secrets.KEY_PASSWORD }}
112+
# - name: Deploy Free to Indus App Store
113+
# id: uploadToIndus
114+
# uses: yogeshpaliyal/[email protected]
115+
# with:
116+
# type: UPLOAD_AAB
117+
# apiKey: ${{secrets.INDUS_API_KEY}}
118+
# packageName: com.yogeshpaliyal.keypass
119+
# aabFile: app/build/outputs/bundle/freeRelease/*.aab
120+
# signingKeyBase64: ${{ secrets.SIGNING_KEY }}
121+
# keystoreAlias: ${{ secrets.ALIAS }}
122+
# keystorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
123+
# keyPassword: ${{ secrets.KEY_PASSWORD }}

0 commit comments

Comments
 (0)