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 6
6
version :
7
7
description : ' Version number for the app'
8
8
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'
12
12
13
13
runs :
14
14
using : " composite"
27
27
shell : bash
28
28
run : |
29
29
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"
33
33
done
34
34
35
35
- uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments