diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml index c455bc15..0c242eeb 100644 --- a/.github/workflows/static.yaml +++ b/.github/workflows/static.yaml @@ -214,8 +214,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} build-mac: - name: Build macOS x86_64 binaries - runs-on: macos-latest + strategy: + fail-fast: false + matrix: + platform: ['arm64', 'x86_64'] + name: Build macOS ${{ matrix.platform }} binaries + runs-on: ${{ matrix.platform == 'arm64' && 'macos-14' || 'macos-13' }} needs: [ prepare ] env: HOMEBREW_NO_AUTO_UPDATE: 1 @@ -254,5 +258,5 @@ jobs: if: github.ref_type == 'branch' uses: actions/upload-artifact@v3 with: - name: frankenphp-mac-x86_64 - path: dist/frankenphp-mac-x86_64 + name: frankenphp-mac-${{ matrix.platform }} + path: dist/frankenphp-mac-${{ matrix.platform }} diff --git a/release.sh b/release.sh index a07070e6..fe4cfc30 100755 --- a/release.sh +++ b/release.sh @@ -47,8 +47,3 @@ tags=$(git tag --list --sort=-version:refname 'v*') previous_tag=$(awk 'NR==2 {print;exit}' <<< "${tags}") gh release create --draft --generate-notes --latest --notes-start-tag "${previous_tag}" --verify-tag "v$1" - -if [[ "$(uname -s)" = "Darwin" ]]; then - rm -Rf dist/* - FRANKENPHP_VERSION=$1 RELEASE=1 ./build-static.sh -fi