Skip to content

Commit

Permalink
Set macOS version, add variable for Xcode version
Browse files Browse the repository at this point in the history
  • Loading branch information
jarne committed Mar 1, 2024
1 parent 2eb7d62 commit 7d16bbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ on: [push]
jobs:
build:
name: Build Xcode app project
runs-on: macos-latest
runs-on: macos-14
env:
APP_NAME: Commandoak
XCODE_VERSION: 15.2
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Select Xcode version
run: sudo xcode-select --switch /Applications/Xcode_15.2.app
run: sudo xcode-select --switch /Applications/Xcode_${{ env.XCODE_VERSION }}.app

- name: Build macOS app
run: |
Expand Down

0 comments on commit 7d16bbd

Please sign in to comment.