Skip to content

Commit

Permalink
Update Token Name
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer committed Sep 29, 2023
1 parent 783d788 commit 1b4cc96
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/xcodebuild-or-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ on:
APPLE_ID:
description: 'The Apple ID you use to access the App Store Connect API.'
required: false
checkout_token:
CHECKOUT_TOKEN:
description: "The Personal access token (PAT) to use with the checkout action"
required: false

Expand All @@ -128,9 +128,8 @@ jobs:
- uses: actions/checkout@v4
with:
# 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 }}
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 1b4cc96

Please sign in to comment.