Skip to content

Commit 59cede0

Browse files
committed
build workstation into zip to preserve structure
1 parent d33d616 commit 59cede0

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build_workstation_macos.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,15 @@ jobs:
4747
test -f painter/dist/RootPainter.app/Contents/MacOS/RootPainterTrainerBundle/RootPainterTrainer
4848
test -d painter/dist/RootPainter.app/Contents/MacOS/RootPainterTrainerBundle/_internal
4949
50+
- name: Zip .app (preserve bundle)
51+
shell: bash
52+
run: |
53+
cd painter/dist
54+
ditto -c -k --keepParent RootPainter.app RootPainter-Workstation-macOS.zip
55+
5056
- name: Upload artifact
5157
uses: actions/upload-artifact@v4
5258
with:
5359
name: RootPainter-Workstation-macOS
54-
path: painter/dist/RootPainter.app
55-
60+
path: painter/dist/RootPainter-Workstation-macOS.zip
61+
if-no-files-found: error

0 commit comments

Comments
 (0)