From cd333a619ae0b13bf256e98735a28d5b1ef9533a Mon Sep 17 00:00:00 2001 From: RedBlackAka <140876408+RedBlackAka@users.noreply.github.com> Date: Wed, 11 Jun 2025 04:28:48 +0200 Subject: [PATCH] ci: Distribute individual x86_64 and ARM64 macOS builds as well as universal --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5880577f..616773ded 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,12 +87,19 @@ jobs: - name: Build run: ./.ci/macos.sh - name: Prepare outputs for caching - run: mv build/bundle $OS-$TARGET + run: cp -R build/bundle $OS-$TARGET - name: Cache outputs for universal build uses: actions/cache/save@v4 with: path: ${{ env.OS }}-${{ env.TARGET }} key: ${{ runner.os }}-${{ matrix.target }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }} + - name: Pack + run: ./.ci/pack.sh + - name: Upload + uses: actions/upload-artifact@v4 + with: + name: ${{ env.OS }}-${{ env.TARGET }} + path: artifacts/ macos-universal: runs-on: macos-14 needs: macos