mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2025-12-31 00:59:51 -06:00
Create indus-appstore-yml
This commit is contained in:
committed by
GitHub
parent
eae2242bff
commit
bdc3e2f5e7
56
.github/workflows/indus-appstore-yml
vendored
Normal file
56
.github/workflows/indus-appstore-yml
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
name: Submit to Play Store
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Github release version'
|
||||
required: true
|
||||
type: string
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
bump:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Echo Release name
|
||||
run: |
|
||||
echo "${{ github.ref_name || github.event.inputs.version }}"
|
||||
|
||||
- uses: robinraju/release-downloader@v1
|
||||
with:
|
||||
# The github tag. e.g: v1.0.1
|
||||
# Download assets from a specific tag/version
|
||||
tag: ${{ github.ref_name || github.event.inputs.version }}
|
||||
# The name of the file to download.
|
||||
# Use this field only to specify filenames other than tarball or zipball, if any.
|
||||
# Supports wildcard pattern (eg: '*', '*.deb', '*.zip' etc..)
|
||||
fileName: 'keypass-free-*.aab'
|
||||
# Relative path under $GITHUB_WORKSPACE to place the downloaded file(s)
|
||||
# It will create the target directory automatically if not present
|
||||
# eg: out-file-path: "my-downloads" => It will create directory $GITHUB_WORKSPACE/my-downloads
|
||||
out-file-path: 'app/build/outputs/bundle/freeRelease'
|
||||
# Github access token to download files from private repositories
|
||||
# https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
|
||||
# eg: token: ${{ secrets.MY_TOKEN }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Deploy Free to Indus App Store
|
||||
id: uploadToIndus
|
||||
uses: yogeshpaliyal/upload-indus-appstore@v0.0.6
|
||||
with:
|
||||
type: UPLOAD_AAB
|
||||
apiKey: ${{secrets.INDUS_API_KEY}}
|
||||
packageName: com.yogeshpaliyal.keypass
|
||||
aabFile: app/build/outputs/bundle/freeRelease/*.aab
|
||||
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
||||
keystoreAlias: ${{ secrets.ALIAS }}
|
||||
keystorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user