Skip to content

Commit 3f4969f

Browse files
Try with suggestion from actions/runner-images@9811
1 parent e414f3c commit 3f4969f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1616
- name: Check SDK version
1717
run: |
18+
sudo xcode-select -s /Library/Developer/CommandLineTools
1819
xcrun --show-sdk-version
1920
- name: Install Build Wrapper
2021
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@v4
@@ -27,6 +28,7 @@ jobs:
2728
xcodebuild test -project macos-xcode.xcodeproj -scheme test2 -enableCodeCoverage YES -derivedDataPath build
2829
- name: Collect coverage into one XML report
2930
run: |
31+
sudo xcode-select -s /Library/Developer/CommandLineTools
3032
bash xccov-to-generic.sh build/Logs/Test/*.xcresult/ > generic-coverage.xml
3133
- name: SonarQube Scan
3234
uses: SonarSource/sonarqube-scan-action@v4

0 commit comments

Comments
 (0)