Skip to content

Commit

Permalink
Fix CodeQL Execution on GitHub Hosted Runners
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Schmiedmayer <[email protected]>
  • Loading branch information
PSchmiedmayer authored Jan 17, 2025
1 parent 44403d2 commit 79e5afe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/xcodebuild-or-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,14 @@ jobs:
with:
languages: swift
db-location: '${{ inputs.path }}/.codeql'
- name: Mechanism to resolve CodeQL issue https://github.com/github/codeql-action/issues/2506#issuecomment-2594033147
if: ${{ !env.selfhosted && inputs.codeql }}
run: |
XCODE_PATH=$(xcode-select -p)
mkdir -p $XCODE_PATH/Toolchains/XcodeDefault.xctoolchain/usr/lib
cp $XCODE_PATH/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/*.dylib $XCODE_PATH/Toolchains/XcodeDefault.xctoolchain/usr/lib
sudo mkdir -p /usr/local/lib
sudo cp $XCODE_PATH/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/*.dylib /usr/local/lib
- name: Disable Password Autofill in the iOS Simulator (Deprecated)
if: ${{ inputs.setupSimulators && inputs.destination != '' }}
run: |
Expand Down

0 comments on commit 79e5afe

Please sign in to comment.