Skip to content

Commit

Permalink
Fix xcodebuild-or-fastlane when not supplying checkout_token (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg authored Sep 25, 2023
1 parent 9e1fc1f commit 40e85e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/xcodebuild-or-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.checkout_token }}
# This is GitHubs way of implementing ternary expressions (see https://docs.github.com/en/actions/learn-github-actions/expressions)
token: ${{ secrets.checkout_token != '' && secrets.checkout_token || github.token }}
submodules: ${{ inputs.checkout_submodules }}

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ inputs.xcodeversion }}
Expand Down

0 comments on commit 40e85e8

Please sign in to comment.