From 0123c88e08f7f18904c38a772cf1937035098527 Mon Sep 17 00:00:00 2001 From: Derek Date: Thu, 8 Sep 2022 12:26:25 -0400 Subject: [PATCH] feat: allow user to pass relay host --- .github/actions/ci/action.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index 0f8b76fc0..7e1880db3 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -4,6 +4,10 @@ inputs: type: description: 'The type of CI step to run' required: true + relay-endpoint: + description: 'The endpoint of the relay e.g. relay.walletconnect.com' + required: false + default: 'relay.walletconnect.com' runs: using: "composite" @@ -23,12 +27,14 @@ runs: - name: Run integration tests if: inputs.type == 'integration-tests' shell: bash + env: + RELAY_ENDPOINT: ${{ inputs.relay-endpoint }} run: "xcodebuild \ -project Example/ExampleApp.xcodeproj \ -scheme IntegrationTests \ -clonedSourcePackagesDirPath SourcePackagesCache \ -destination 'platform=iOS Simulator,name=iPhone 13' \ - RELAY_HOST='relay.walletconnect.com' \ + RELAY_HOST='$RELAY_ENDPOINT' \ test" # Wallet build