mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-01-06 00:59:34 -06:00
57 lines
2.0 KiB
YAML
57 lines
2.0 KiB
YAML
name: Submit to Indus App 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.event.inputs.version || github.ref_name }}"
|
|
|
|
- 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 }}
|
|
|