File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,19 +55,21 @@ jobs:
5555 - if : matrix.build-mode == 'manual'
5656 uses : ./.github/actions/set-xcode-version
5757
58- - if : matrix.build-mode == 'manual'
58+ - name : Build Swift project for CodeQL extraction
59+ if : matrix.build-mode == 'manual'
5960 shell : bash
6061 run : |
62+ set -euo pipefail
6163 xcodebuild \
64+ -workspace 'Copilot for Xcode.xcworkspace' \
6265 -scheme 'Copilot for Xcode' \
63- -quiet \
64- -archivePath build/Archives/CopilotForXcode.xcarchive \
6566 -configuration Release \
67+ -destination 'generic/platform=macOS' \
68+ -derivedDataPath build/DerivedData \
6669 -skipMacroValidation \
6770 -disableAutomaticPackageResolution \
68- -workspace 'Copilot for Xcode.xcworkspace' \
69- archive \
70- CODE_SIGNING_ALLOWED="NO"
71+ CODE_SIGNING_ALLOWED=NO \
72+ build
7173
7274 - name : Perform CodeQL Analysis
7375 uses : github/codeql-action/analyze@v4
You can’t perform that action at this time.
0 commit comments