summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2023-11-28 22:26:27 +0100
committerAnne Jan Brouwer <brouwer@annejan.com>2023-11-28 22:26:27 +0100
commitde5f6ba1037f467b4f9f409e7ea349a9b7f6eeb7 (patch)
tree2118f2b73ea13cc9c8e94913c6994c78190e8015
parentf68a6661b38029f5d4952b25e26f2ca0938646e9 (diff)
Let's see if this other trick works for QtDir
-rw-r--r--.github/workflows/build.yml12
1 files 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