From de5f6ba1037f467b4f9f409e7ea349a9b7f6eeb7 Mon Sep 17 00:00:00 2001 From: Anne Jan Brouwer Date: Tue, 28 Nov 2023 22:26:27 +0100 Subject: Let's see if this other trick works for QtDir --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 769b7aed..4c4ff0b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,9 +26,12 @@ jobs: copy LICENSE src\release\LICENSE.txt - name: Install Inno Setup run: choco install innosetup + - name: Use Qt + run: | + echo "Qt is installed in ${{ steps.install-qt.outputs.Qt5_DIR }}" - name: Create Installer with Inno Setup run: ISCC.exe qtpass.iss - with: + env: QtDir: ${{ steps.install-qt.outputs.Qt5_DIR }} - name: Upload Artifact uses: actions/upload-artifact@v3 @@ -44,14 +47,19 @@ jobs: uses: jurplel/install-qt-action@v3 with: version: '5.15.2' + - name: Install create-dmg + run: | + brew install create-dmg - name: Build QtPass run: | qmake make macdeployqt main/QtPass.app + - name: Create DMG + run: create-dmg main/QtPass.dmg main/QtPass.app - name: Upload Artifact uses: actions/upload-artifact@v3 with: name: PyQtPass-macOS - path: macdeployqt main/QtPass.app + path: main/QtPass.dmg -- cgit v1.2.3