From 98ad9c153b9b7eb95c79280fec20f58ce868f40e Mon Sep 17 00:00:00 2001 From: Mike Kold Hermann Date: Sun, 15 Mar 2026 23:28:47 +0100 Subject: [PATCH 1/2] ci: update macos runner to macos-14 Update the macOS runner from macos-15 to macos-14 to ensure compatibility with the latest stable version of macOS. --- .github/workflows/release.yml | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83ed094..f564841 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,11 +6,11 @@ on: - "v*" jobs: - build-and-release: + build: strategy: matrix: os: [ - macos-15, # M1/M2 Apple Silicon runner + macos-14, # M1/M2 Apple Silicon runner macos-26-intel, # Intel-based macOS runner ubuntu-latest, # Ubuntu 24.04 x64 runner ubuntu-24.04-arm, # Ubuntu 24.04 ARM runner @@ -19,9 +19,6 @@ jobs: ] runs-on: ${{ matrix.os }} - permissions: - contents: write - steps: - name: Checkout code uses: actions/checkout@v6 @@ -42,12 +39,33 @@ jobs: - name: Build app run: bun run build:${{ steps.build-env.outputs.env == 'canary' && 'canary' || 'stable' }} + - name: Upload Artifact + uses: actions/upload-artifact@v7 + with: + name: binary-${{ matrix.os }} + path: artifacts/* + + release: + needs: build + runs-on: ubuntu-latest + + permissions: + contents: write + + steps: + - name: Download all artifacts + uses: actions/download-artifact@v4 + with: + pattern: binary-* + path: combined-artifacts + merge-multiple: true + - name: Create Release uses: softprops/action-gh-release@v2 with: - files: artifacts/* + files: combined-artifacts/* draft: true - prerelease: ${{ steps.build-env.outputs.env == 'canary' }} + prerelease: ${{ contains(github.ref_name, '-canary') }} generate_release_notes: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 2fc4d8b880b06d9dd4b7899fc1e8f63e536887d6 Mon Sep 17 00:00:00 2001 From: Mike Kold Hermann Date: Sun, 15 Mar 2026 23:30:25 +0100 Subject: [PATCH 2/2] chore: update download-artifact action to v8 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f564841..770dc83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,7 @@ jobs: steps: - name: Download all artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: pattern: binary-* path: combined-artifacts