Create indus-appstore-yml

This commit is contained in:
Yogesh Choudhary Paliyal
2025-08-10 11:39:21 +05:30
committed by GitHub
parent eae2242bff
commit bdc3e2f5e7

56
.github/workflows/indus-appstore-yml vendored Normal file
View 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 }}