Skip to content

Commit

Permalink
Project ID secret
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Sep 28, 2022
1 parent 99ca31f commit 6956523
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/actions/ci/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: 'ci'
description: 'Executes Swift specific CI steps'

inputs:
type:
description: 'The type of CI step to run'
Expand All @@ -9,6 +10,10 @@ inputs:
required: false
default: 'relay.walletconnect.com'

secrets:
PROJECT_ID:
required: true

runs:
using: "composite"
steps:
Expand All @@ -29,12 +34,14 @@ runs:
shell: bash
env:
RELAY_ENDPOINT: ${{ inputs.relay-endpoint }}
PROJECT_ID: ${ secrets.PROJECT_ID }
run: "xcodebuild \
-project Example/ExampleApp.xcodeproj \
-scheme IntegrationTests \
-clonedSourcePackagesDirPath SourcePackagesCache \
-destination 'platform=iOS Simulator,name=iPhone 13' \
RELAY_HOST='$RELAY_ENDPOINT' \
PROJECT_ID='$PROJECT_ID' \
test"

# Wallet build
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- uses: ./.github/actions/ci
with:
type: ${{ matrix.test-type }}
secrets: inherit

test-ui:
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 6956523

Please sign in to comment.