Skip to content

Instantly share code, notes, and snippets.

@hiimtmac
Created June 13, 2023 14:06
Show Gist options
  • Save hiimtmac/84e5dc55d6caa83990d86f0a0ddab585 to your computer and use it in GitHub Desktop.
Save hiimtmac/84e5dc55d6caa83990d86f0a0ddab585 to your computer and use it in GitHub Desktop.
Github Actions macOS-13 test default swift/Xcode versions
name: Test
on:
push:
jobs:
macos:
name: Test macOS
runs-on: macos-13
timeout-minutes: 2
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: Profiler
run: system_profiler SPDeveloperToolsDataType
- name: Xcodebuild Version
run: xcodebuild -version
- name: Swift Version
run: xcrun swift -version
- name: Xcode Path
run: xcrun xcode-select --print-path
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment