Skip to content

Commit

Permalink
Add ability to specify PAT and submodule inputs for checkout action (#29
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Supereg authored Sep 19, 2023
1 parent b9aa11a commit 9e1fc1f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/xcodebuild-or-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ on:
required: false
type: boolean
default: false
checkout_submodules:
description: "Flag indicating if submodules should be automatically checked out."
required: false
type: boolean
secrets:
BUILD_CERTIFICATE_BASE64:
description: 'The Base64 version of the Apple signing certificate to build your iOS application.'
Expand All @@ -106,6 +110,9 @@ on:
APPLE_ID:
description: 'The Apple ID you use to access the App Store Connect API.'
required: false
checkout_token:
description: "The Personal access token (PAT) to use with the checkout action"
required: false

jobs:
build_and_test:
Expand All @@ -115,7 +122,10 @@ jobs:
run:
working-directory: ${{ inputs.path }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.checkout_token }}
submodules: ${{ inputs.checkout_submodules }}
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ inputs.xcodeversion }}
Expand Down

0 comments on commit 9e1fc1f

Please sign in to comment.