Skip to content

Commit

Permalink
fix: app_scheme needs to be mentioned
Browse files Browse the repository at this point in the history
deriving it from the input did not work as the env file was not set correctly
  • Loading branch information
bonomat committed Aug 14, 2023
1 parent 3bf33e3 commit 3b54ed7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
oracle_pubkey: 16f88cf7d21e6c0f46bcbc983a4e3b19726c6c98858cc31c83551a88fde171c0
fastlane_developer_app_identifier: finance.get10101.app
fastlane_provisioning_profile_specifier: match AppStore finance.get10101.app 1691412333"
app_scheme: Runner

build_android_apk:
runs-on: macos-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deliverables-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ jobs:
oracle_pubkey: 5d12d79f575b8d99523797c46441c0549eb0defb6195fe8a080000cbe3ab3859
fastlane_developer_app_identifier: finance.get10101.app.test
fastlane_provisioning_profile_specifier: match AppStore finance.get10101.app.test
app_scheme: test
13 changes: 5 additions & 8 deletions .github/workflows/ios-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ on:
required: true
description: "The public key of the oracle. Must match with the public key returned at http://${oracle_endpoint}/oracle/publickey"
type: string
app_scheme:
required: true
description: "For regtest enter 'test' or mainnet enter 'Runner'"
type: string
fastlane_provisioning_profile_specifier:
required: true
description: "For regtest enter 'match AppStore finance.get10101.app.test' or mainnet enter 'match AppStore finance.get10101.app 1691412333'"
Expand Down Expand Up @@ -157,13 +161,6 @@ jobs:
# inputs
FASTLANE_DEVELOPER_APP_IDENTIFIER: ${{ inputs.fastlane_developer_app_identifier }}
FASTLANE_PROVISIONING_PROFILE_SPECIFIER: ${{ inputs.fastlane_provisioning_profile_specifier }}
NETWORK: ${{ inputs.network }}
FASTLANE_APP_SCHEME: ${{ inputs.app_scheme }}
run: |
if [ "$NETWORK" = "mainnet" ]; then
FASTLANE_APP_SCHEME="Runner"
else
FASTLANE_APP_SCHEME="test"
fi
echo "APP_SCHEME is set to $FASTLANE_APP_SCHEME"
just publish-testflight-fastlane

0 comments on commit 3b54ed7

Please sign in to comment.