Skip to content

dbg

dbg #2

Workflow file for this run

name: 🍎 Build Patchwork for macOS

Check failure on line 1 in .github/workflows/macos_builds.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/macos_builds.yml

Invalid workflow file

(Line: 18, Col: 9): Unexpected value 'fetch-tags'
on:
workflow_call:
env:
LLVM_PATH: /opt/homebrew/opt/llvm/bin
jobs:
macos:
runs-on: "macos-14"
name: 📐 Build ${{ matrix.arch }}
strategy:
fail-fast: false
matrix:
arch: ["x86_64-apple-darwin"]
steps:
- uses: actions/checkout@v4
fetch-tags: true
- name: Restore Cache
uses: Swatinem/rust-cache@v2
with:
prefix-key: patchwork_rust_plugin_macos-${{ matrix.arch }}
- name: Build
uses: ./.github/actions/build-plugin
with:
arch: ${{ matrix.arch }}
- name: Mac Sign
uses: ./.github/actions/macos-sign
with:
FRAMEWORK_PATH: ${{ github.workspace }}/build/patchwork/bin/libpatchwork_rust_core.macos.framework
SIGN_FLAGS: "--deep"
APPLE_CERT_BASE64: ${{ secrets.APPLE_CERT_BASE64 }}
APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }}
APPLE_DEV_PASSWORD: ${{ secrets.APPLE_DEV_PASSWORD }}
APPLE_DEV_ID: ${{ secrets.APPLE_DEV_ID }}
APPLE_DEV_TEAM_ID: ${{ secrets.APPLE_DEV_TEAM_ID }}
APPLE_DEV_APP_ID: ${{ secrets.APPLE_DEV_APP_ID }}
- name: Upload
uses: actions/upload-artifact@v4
with:
name: patchwork-build-macos-${{ matrix.arch }}
path: |
build/patchwork/*
if-no-files-found: error