Skip to content

πŸ”§ update project files to Xcode 15.4 #36

πŸ”§ update project files to Xcode 15.4

πŸ”§ update project files to Xcode 15.4 #36

Workflow file for this run

name: Build
on:
push: { branches: ['alpha', 'beta', 'main'] }
pull_request: { branches: ['alpha', 'beta', 'main'] }
jobs:
build:
name: Xcode Build
runs-on: macos-13
steps:
- name: Select Xcode Version
run: sudo xcrun xcode-select -s /Applications/Xcode_14.3.app
- name: Set Environment Variables
run: |
APP_NAME="BeezyLight"
echo "APP_NAME=${APP_NAME}" >> $GITHUB_ENV
echo "XCARCHIVE_PATH=${PWD}/${APP_NAME}.xcarchive" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v3
- name: Run xcode-build Script
run: './Scripts/xcode-build build "$XCARCHIVE_PATH"'
- name: Upload Archive to Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ env.APP_NAME }}.xcarchive
path: ${{ env.XCARCHIVE_PATH }}
if-no-files-found: error
- name: Check Git Status
run: git status --porcelain