File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
.github/actions/prepare-for-release Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 2929 dotnet tool install --global wix --version 4.0.6
3030 for rid in ${{ inputs.rids }}; do
3131 dotnet publish ./DesktopClock/DesktopClock.csproj -o "publish/$rid" -c Release -r $rid -p:Version=${{ inputs.version }}
32- (
33- cd "publish/$rid" &&
34- wix build Product.wxs -o "DesktopClock-${{ inputs.version }}-${rid}.msi"
35- )
32+ wix build Product.wxs -d MainExeSource="publish/$rid/DesktopClock.exe" -o "publish/$rid/DesktopClock-${{ inputs.version }}-${rid}.msi"
3633 done
3734
3835 - uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 4848 <Fragment >
4949 <ComponentGroup Id =" ProductComponents" Directory =" INSTALLFOLDER" >
5050 <Component Id =" MainExe" Guid =" 2148738D-B1F4-48BD-8615-1617541C6BB3" >
51- <File Id =" MainExe" Name =" $(var.Name).exe" Source =" $(var.Name).exe " />
51+ <File Id =" MainExe" Name =" $(var.Name).exe" Source =" $(var.MainExeSource) " />
5252 </Component >
5353 </ComponentGroup >
5454 </Fragment >
You can’t perform that action at this time.
0 commit comments