Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
enable_ios_checks: true
ios_pre_build_command: |
pwd
xcrun swift package init --type library
"$(xcrun -f swift)" package init --type library

soundness:
name: Soundness
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/swift_package_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ on:
ios_build_command:
type: string
description: "macOS command to build the package for iOS"
default: "xcrun swift build --build-tests --sdk \"$(xcrun --sdk iphoneos --show-sdk-path)\" --triple arm64-apple-ios"
default: "\"$(xcrun -f swift)\" build --build-tests --sdk \"$(xcrun --sdk iphoneos --show-sdk-path)\" --triple arm64-apple-ios"
linux_build_command:
type: string
description: "Linux command to build and test the package"
Expand Down Expand Up @@ -255,7 +255,8 @@ jobs:
- name: Select Xcode
run: echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode_version }}.app" >> $GITHUB_ENV
- name: Swift version
run: xcrun swift --version
run: |
"$(xcrun -f swift)" --version
- name: Pre-build
run: ${{ inputs.ios_pre_build_command }}
- name: Build
Expand Down