diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index 3cd841de2..c3af9b111 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -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 diff --git a/.github/workflows/deliverables-push-main.yml b/.github/workflows/deliverables-push-main.yml index 9ee3c9cac..7d2e3b8c6 100644 --- a/.github/workflows/deliverables-push-main.yml +++ b/.github/workflows/deliverables-push-main.yml @@ -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 diff --git a/.github/workflows/ios-fastlane.yml b/.github/workflows/ios-fastlane.yml index ce5970338..671f764db 100644 --- a/.github/workflows/ios-fastlane.yml +++ b/.github/workflows/ios-fastlane.yml @@ -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'" @@ -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