File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
.github/actions/prepare-for-release Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 66 version :
77 description : ' Version number for the app'
88 default : ' 0.0.0'
9- rids :
10- description : ' Runtime identifiers for the build'
11- default : ' win- x64 win- arm64'
9+ archs :
10+ description : ' Architectures for the build'
11+ default : ' x64 arm64'
1212
1313runs :
1414 using : " composite"
2727 shell : bash
2828 run : |
2929 dotnet tool install --global wix --version 4.0.6
30- for rid in ${{ inputs.rids }}; do
31- dotnet publish ./DesktopClock/DesktopClock.csproj -o "publish/$rid " -c Release -r $rid -p:Version=${{ inputs.version }}
32- wix build Product.wxs -d MainExeSource="publish/$rid /DesktopClock.exe" -o "publish/$rid /DesktopClock-${{ inputs.version }}-${rid }.msi"
30+ for arch in ${{ inputs.archs }}; do
31+ dotnet publish ./DesktopClock/DesktopClock.csproj -o "publish/$arch " -c Release --os win --arch $arch -p:Version=${{ inputs.version }}
32+ wix build Product.wxs -d MainExeSource="publish/$arch /DesktopClock.exe" -o "publish/$arch /DesktopClock-${{ inputs.version }}-${arch }.msi"
3333 done
3434
3535 - uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments