-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(workflow_dispatch): use manual workflow to trigger fastlane track …
…promotion
- Loading branch information
1 parent
9f19a2a
commit e49708e
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Fastlane - Track promotion | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
origin_track: | ||
description: 'Origin track of the promotion' | ||
required: true | ||
default: 'beta' | ||
type: choice | ||
options: | ||
- beta | ||
destination_track: | ||
description: 'Destination track of the promotion' | ||
required: true | ||
default: 'production' | ||
type: choice | ||
options: | ||
- production | ||
|
||
jobs: | ||
play_store: | ||
name: 'Play Store' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Decrypt secret configuration' | ||
run: ./.github/scripts/decrypt_secret.sh | ||
env: | ||
PASSPHRASE: ${{ secrets.PASSPHRASE }} | ||
- name: 'Fastlane promote ${{ inputs.origin_track }} to ${{ inputs.destination_track }}' | ||
uses: maierj/[email protected] | ||
with: | ||
lane: track_promotion | ||
options: '{ "origin_track": "${{ inputs.origin_track }}", "destination_track": "${{ inputs.destination_track }}" }' | ||
subdirectory: 'android' | ||
env: | ||
SUPPLY_UPLOAD_MAX_RETRIES: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters