Refactor macOS build workflows to improve artifact handling and extraction process

This commit is contained in:
mr. M
2025-01-25 10:49:47 +01:00
parent ca4952c02c
commit 504faad077
2 changed files with 69 additions and 32 deletions

View File

@@ -139,14 +139,14 @@ jobs:
- name: Rename artifacts
run: |
mv ./dist/output.mar macos-${{ matrix.arch }}.mar
mv ./engine/obj-${{ matrix.arch }}-apple-darwin ./obj-${{ matrix.arch }}-apple-darwin
tar -czf zen-${{ matrix.arch }}-apple-darwin-dist.tar.gz ./engine/obj-${arch}-apple-darwin/dist/
- name: Upload dist app folder
- name: Upload dist dmg
uses: actions/upload-artifact@v4
with:
retention-days: 1
name: obj-${{ matrix.arch }}-apple-darwin
path: ./obj-${{ matrix.arch }}-apple-darwin
name: zen-${{ matrix.arch }}-apple-darwin-dist.tar.gz
path: ./zen-${{ matrix.arch }}-apple-darwin-dist.tar.gz
- name: Upload build artifact (.mar)
uses: actions/upload-artifact@v4