Enhance macOS build workflows by renaming artifact paths and adding a step to list .app folders

This commit is contained in:
mr. M
2025-01-23 16:47:33 +01:00
parent ea0a808e15
commit a640509e04
2 changed files with 10 additions and 1 deletions

View File

@@ -132,13 +132,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
- name: Upload dist app folder
uses: actions/upload-artifact@v4
with:
retention-days: 1
name: obj-${{ matrix.arch }}-apple-darwin
path: ./engine/obj-${{ matrix.arch }}-apple-darwin
path: ./obj-${{ matrix.arch }}-apple-darwin
- name: Upload build artifact (.mar)
uses: actions/upload-artifact@v4

View File

@@ -99,6 +99,14 @@ jobs:
name: obj-aarch64-apple-darwin
path: engine
- name: List .app folders
run: |
ls engine/
echo "--------------------"
cd engine/obj-x86_64-apple-darwin/dist
find . -name "*.app" -type d
cd ../..
- name: Find first .app folder name
run: |
cd engine/obj-x86_64-apple-darwin/dist