ci: Distribute individual x86_64 and ARM64 macOS builds as well as universal

This commit is contained in:
RedBlackAka
2025-06-11 04:28:48 +02:00
committed by OpenSauce
parent a660d9c04a
commit cd333a619a

View File

@@ -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