Skip to content

Commit 1ab31bb

Browse files
committed
Do not build MSI installer in release workflow
The package generated by 'cargo wix' was OK, but not exactly what I was after. I'm still working on a manually written up Wix file.
1 parent 8dee723 commit 1ab31bb

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
case ${{ matrix.job.target }} in
8585
aarch64-*-linux-*) arch=arm64; os=linux ;;
8686
i686-*-linux-*) arch=i686; os=linux ;;
87-
x86_64-*-linux-*) arch=amd64; os=linux ;;
87+
x86_64-*-linux-*) arch=x64; os=linux ;;
8888
aarch64-apple-darwin) arch=arm64; os=osx ;;
8989
x86_64-apple-darwin) arch=x64; os=osx ;;
9090
*) exit 3 ;;
@@ -132,12 +132,6 @@ jobs:
132132
command: build
133133
args: --locked --release
134134

135-
- name: Make Wix package
136-
run: |
137-
cargo install cargo-wix
138-
cargo wix init
139-
cargo wix
140-
141135
- name: Make zip package
142136
run: |
143137
python3 ./tools/package/package-archive --archive-type zip --binary ./target/release/bselect.exe --arch x64 --os win
@@ -147,8 +141,6 @@ jobs:
147141
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148142
run: |
149143
$version = "v${{ steps.get-version.outputs.version }}"
150-
$msi = "$(Get-ChildItem -Path target/wix *.msi)"
151-
python3 ./tools/package/sha256 "${msi}" > "${msi}.sha256"
152144
$zip = "$(Get-ChildItem -Path . *.zip)"
153145
python3 ./tools/package/sha256 "${zip}" > "${zip}.sha256"
154-
gh release upload "${version}" "${msi}" "${msi}.sha256" "${zip}" "${zip}.sha256"
146+
gh release upload "${version}" "${zip}" "${zip}.sha256"

0 commit comments

Comments
 (0)