Skip to content

Commit

Permalink
Use format() instead of join()
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Aug 21, 2023
1 parent 7321437 commit 2844e61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ jobs:

- name: Run iOS unit tests
working-directory: auth0_flutter/example/ios
run: xcodebuild test -scheme Runner -workspace Runner.xcworkspace -destination ${{ join('platform=iOS Simulator,name=', env.simulator) }} -skip-testing:RunnerUITests | xcpretty
run: xcodebuild test -scheme Runner -workspace Runner.xcworkspace -destination ${{ format('{0}{1}', 'platform=iOS Simulator,name=', env.simulator) }} -skip-testing:RunnerUITests | xcpretty

- name: Run iOS smoke tests
working-directory: auth0_flutter/example/ios
run: xcodebuild test -scheme Runner -workspace Runner.xcworkspace -destination ${{ join('platform=iOS Simulator,name=', env.simulator) }} -only-testing:RunnerUITests | xcpretty
run: xcodebuild test -scheme Runner -workspace Runner.xcworkspace -destination ${{ format('{0}{1}', 'platform=iOS Simulator,name=', env.simulator) }} -only-testing:RunnerUITests | xcpretty

- name: Cancel wokflow on failure
uses: andymckay/cancel-action@b9280e3f8986d7a8e91c7462efc0fa318010c8b1
Expand Down

0 comments on commit 2844e61

Please sign in to comment.