Skip to content

Commit

Permalink
manual build workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
unixvb committed Aug 5, 2022
1 parent 98cd8eb commit d27fb08
Showing 1 changed file with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: Testflight build
name: Manual build

on:
workflow_dispatch:
inputs:
buildNumber:
description: 'Build number'
required: true
githubReleaseVersion:
description: 'Github release version'
default: ''
required: false

jobs:
testflight-build:
Expand Down Expand Up @@ -73,6 +77,9 @@ jobs:
READ_ONLY_SIGNER_PUBLIC_KEY_HASH=${{ secrets.READ_ONLY_SIGNER_PUBLIC_KEY_HASH }}
TEMPLE_WALLET_API=${{ secrets.TEMPLE_WALLET_API }}
SEGMENT_ANALYTICS_KEY=${{ secrets.SEGMENT_ANALYTICS_KEY }}
TEMPLE_WALLET_EXOLIX_API_KEY=${{ secrets.TEMPLE_WALLET_EXOLIX_API_KEY }}
TEMPLE_WALLET_EVERSTAKE_API_KEY=${{ secrets.TEMPLE_WALLET_EVERSTAKE_API_KEY }}
TEMPLE_WALLET_EVERSTAKE_LINK_ID=${{ secrets.TEMPLE_WALLET_EVERSTAKE_LINK_ID }}
EOF
- name: Install Android Gemfile dependencies
Expand All @@ -90,6 +97,16 @@ jobs:
KEYSTORE_KEY: ${{ secrets.KEYSTORE_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}

- name: Create Github release
if: ${{ github.event.inputs.githubReleaseVersion != '' }}
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: ${{ github.event.inputs.githubReleaseVersion }}(${{ github.event.inputs.buildNumber }})
prerelease: false
files: |
android/app/build/outputs/apk/release/app-release.apk
- name: Install iOS Gemfile dependencies
run: cd ios && bundle install

Expand Down

0 comments on commit d27fb08

Please sign in to comment.