Skip to content

Commit c6ed9ed

Browse files
committed
Attempt to build macos dmg
1 parent ac859f3 commit c6ed9ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/qtDeploy.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,22 @@ jobs:
2828
continue-on-error: true
2929
- run: QT_QPA_PLATFORM=minimal poetry run pyinstaller pysdfscad_qtgui/main.py --onefile --name=pySdfScad-${{runner.os}} --collect-data pysdfscad --collect-data pysdfscad_qtgui --windowed
3030

31+
- uses: QQxiaoming/[email protected]
32+
with:
33+
name: artifacts/build-macOS/pysdfscad.dmg
34+
srcdir: artifacts/build-macOS/pySdfScad-macOS.app
35+
if: runner.os == 'macOS'
36+
37+
- run: rm artifacts/build-macOS/pySdfScad-macOS && rm artifacts/build-macOS/pySdfScad-macOS.app
38+
if: runner.os == 'macOS'
39+
3140
# Optionally verify that it works (provided that it does not need user interaction)
3241
#- run: ./dist/your-code/your-code
3342
- uses: actions/upload-artifact@v3
3443
with:
3544
name: build-${{runner.os}}
3645
path: dist/*
46+
3747
release:
3848
runs-on: ubuntu-latest
3949
needs: [build]

0 commit comments

Comments
 (0)