Skip to content

Commit

Permalink
Update GitHub Build Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aksh1t committed Oct 10, 2024
1 parent aa5044b commit 98e91ad
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,15 @@
name: Build Package For All Platforms (Xcode 16 & Xcode 15.4)
name: Preternatural Build
on:
workflow_dispatch:

jobs:
build:
runs-on: macos-latest
runs-on: ghcr.io/cirruslabs/macos-runner:sonoma
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Cache derived data
if: ${{ !env.ACT }} # Skipping when run locally.
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData
key: ${{ runner.os }}-derived-data
restore-keys: |
${{ runner.os }}-derived-data
- name: Run Preternatural Build (Xcode 16)
uses: PreternaturalAI/github-action@main
with:
command: build
derived_data_path: ~/Library/Developer/Xcode/DerivedData
xcode-version: '16'
build_all_platforms: 'true'

- name: Run Preternatural Build (Xcode 15.4)
uses: PreternaturalAI/github-action@main
uses: PreternaturalAI/github-action/preternatural-build@main
with:
command: build
derived_data_path: ~/Library/Developer/Xcode/DerivedData
xcode-version: '15.4'
build_all_platforms: 'true'
xcode-version: '16'

0 comments on commit 98e91ad

Please sign in to comment.