Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
..
  • Loading branch information
bitsandfoxes committed Sep 27, 2024
commit 38950901e0081c2f81a0ff815f05134f5d513dd8
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ jobs:
if: github.ref_name != 'main' && !startsWith(github.ref_name, 'release/')
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # Tag: 0.12.1


- name: Setup Xcode
if: matrix.os == 'macos-latest'
run: |
sudo xcode-select --switch /Applications/Xcode_${{env.XCODE_VERSION}}.app/Contents/Developer
xcodebuild -version

# We only use Xcode 16
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the source of truth to the version we use is pinned above, are we better off changing this comment to: "This has to align with the xcode version we depend on, see ABC env var for details

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you mean the # We only use Xcode 16 comment then we could change it to "Remove unused Xcode versions"... that step is basically just to free disk space.

- name: Remove unused applications
if: matrix.os == 'macos-latest'
Expand All @@ -82,9 +89,6 @@ jobs:
sudo rm -rf /Applications/Xcode_15.3.app
df -hI /dev/disk3s1s1

sudo xcode-select --switch /Applications/Xcode_${{env.XCODE_VERSION}}.app/Contents/Developer
xcodebuild -version

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down