ci: fix windows installer build github action
@@ -5,7 +5,7 @@ on:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
branches:
- - ci-*
+ - build-*
schedule:
- cron: "05 00 * * *"
workflow_dispatch:
@@ -208,11 +208,13 @@ jobs:
name: tari-${{ env.VERSION }}.pkg
path: "${{ github.workspace }}${{ env.TBN_DIST }}/tari-${{ env.VERSION }}.pkg"
+ # unlike inno script studio, iscc.exe doesn't run the [precompile] step generate_config.bat
- name: Build the windows installer
shell: cmd
if: startsWith(runner.os,'Windows')
run: |
cd buildtools
+ call generate_config.bat
"%programfiles(x86)%\Inno Setup 6\iscc.exe" "/DMyAppVersion=${{ env.VERSION }}-${{ env.VSHA_SHORT }}-release" "windows_inno_installer.iss"
- name: Upload artifact for Windows installer
