Run preternatural
GitHub action to build for all platforms
#98
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Preternatural Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
permissions: write-all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ghcr.io/cirruslabs/macos-runner:sonoma | |
steps: | |
- name: Debug Token (don't commit this) | |
run: | | |
if [ -n "${{ secrets.TAHA_PERSONAL_ACCESS_TOKEN }}" ]; then | |
echo "Token is set" | |
else | |
echo "Token is empty" | |
fi | |
- name: Configure Git | |
run: | | |
git config --global url."https://${{ secrets.TAHA_PERSONAL_ACCESS_TOKEN }}@github.com/".insteadOf "https://github.com/" | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
repository: PreternaturalAI/internal-github-action | |
ref: build-from-source-and-reuse-build-artifacts | |
token: ${{ secrets.TAHA_PERSONAL_ACCESS_TOKEN }} | |
path: ./.github/actions/internal-github-action | |
- name: Run my action | |
uses: ./.github/actions/internal-github-action/preternatural-build | |
with: | |
xcode-version: '16' | |
configurations: '["debug"]' |