File tree Expand file tree Collapse file tree 6 files changed +6
-266
lines changed
Expand file tree Collapse file tree 6 files changed +6
-266
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,9 @@ jobs:
224224 git diff --binary origin/main...origin/demo > demo.patch
225225 git apply demo.patch
226226
227+ - name : Get installer source
228+ run : git checkout origin/win-installer -- ./win-installer.nsi
229+
227230 - name : Install Qt (MinGW)
228231 uses : jurplel/install-qt-action@v4
229232 with :
@@ -267,17 +270,17 @@ jobs:
267270
268271 - name : Create NSIS installer
269272 run : |
270- makensis /DAPP_NAME="${{ env.APP_NAME }}" /DPACKAGE_VERSION="${{ env.PACKAGE_VERSION }}" win-installer\installer .nsi
273+ makensis /DAPP_NAME="${{ env.APP_NAME }}" /DPACKAGE_VERSION="${{ env.PACKAGE_VERSION }}" win-installer.nsi
271274
272275 - name : Rename installer
273276 if : matrix.demo == true
274277 run : |
275- MOVE "win-installer\ ${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}.exe" "${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}-demo.exe"
278+ MOVE "${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}.exe" "${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}-demo.exe"
276279
277280 - name : Zip builds
278281 if : matrix.demo == false
279282 run : |
280- MOVE "win-installer\ ${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}.exe" "${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}.exe"
283+ MOVE "${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}.exe" "${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}.exe"
281284 7z a -p"${{ secrets.ZIP_PASSWORD }}" -tzip "${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}.zip" "${{ env.APP_NAME }}-${{ env.PACKAGE_VERSION }}.exe"
282285
283286 - name : Upload artifacts (demo)
File renamed without changes.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments