mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
don't accidentally double zip the macOS bundles
This commit is contained in:
12
.github/workflows/build-macos.yml
vendored
12
.github/workflows/build-macos.yml
vendored
@ -4,7 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- ci/vcpkg-update
|
- ci/*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@ -41,16 +41,11 @@ jobs:
|
|||||||
configurePreset: release-mac-${{ matrix.arch }}
|
configurePreset: release-mac-${{ matrix.arch }}
|
||||||
buildPreset: release-mac-${{ matrix.arch }}
|
buildPreset: release-mac-${{ matrix.arch }}
|
||||||
configurePresetAdditionalArgs: "['-DMELONDS_EMBED_BUILD_INFO=ON']"
|
configurePresetAdditionalArgs: "['-DMELONDS_EMBED_BUILD_INFO=ON']"
|
||||||
- name: Compress app bundle
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
cd build/release-mac-${{ matrix.arch }}
|
|
||||||
zip -r -y ../../macOS-${{ matrix.arch }}.zip melonDS.app
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macOS-${{ matrix.arch }}
|
name: macOS-${{ matrix.arch }}
|
||||||
path: macOS-${{ matrix.arch }}.zip
|
path: build/release-mac-${{ matrix.arch }}/melonDS.app
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
universal-binary:
|
universal-binary:
|
||||||
@ -78,12 +73,11 @@ jobs:
|
|||||||
cp -a arm64/melonDS.app melonDS.app
|
cp -a arm64/melonDS.app melonDS.app
|
||||||
cp melonDS melonDS.app/Contents/MacOS/melonDS
|
cp melonDS melonDS.app/Contents/MacOS/melonDS
|
||||||
codesign -s - --deep melonDS.app
|
codesign -s - --deep melonDS.app
|
||||||
zip -r -y macOS-universal.zip melonDS.app
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macOS-universal
|
name: macOS-universal
|
||||||
path: macOS-universal.zip
|
path: melonDS.app
|
||||||
# - name: Clean up architecture-specific artifacts
|
# - name: Clean up architecture-specific artifacts
|
||||||
# uses: geekyeggo/delete-artifact@v4
|
# uses: geekyeggo/delete-artifact@v4
|
||||||
# with:
|
# with:
|
||||||
|
Reference in New Issue
Block a user