From 1b4cc969a70c5297c6e7d9265f3219da171e5027 Mon Sep 17 00:00:00 2001 From: Paul Schmiedmayer Date: Thu, 28 Sep 2023 23:25:51 -0700 Subject: [PATCH] Update Token Name --- .github/workflows/xcodebuild-or-fastlane.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/xcodebuild-or-fastlane.yml b/.github/workflows/xcodebuild-or-fastlane.yml index b88a894..5f52af9 100644 --- a/.github/workflows/xcodebuild-or-fastlane.yml +++ b/.github/workflows/xcodebuild-or-fastlane.yml @@ -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 @@ -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 }}