Add sudo to xcode command

This commit is contained in:
Amit Kumar
2025-03-10 20:33:55 +00:00
committed by GitHub
parent 70d683221b
commit 08f87c27c5

View File

@@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: uname -a
- run: xcode-select -s /Applications/Xcode_16.app # Swift 6.0
- run: sudo xcode-select -s /Applications/Xcode_16.app # Swift 6.0
- run: swift test
build:
name: Release build
@@ -26,5 +26,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: uname -a
- run: xcode-select -s /Applications/Xcode_16.app # Swift 6.0
- run: sudo xcode-select -s /Applications/Xcode_16.app # Swift 6.0
- run: swift build --configuration release