Skip to content

Commit

Permalink
ansible: pin 7-zip to 22.01 (#3712)
Browse files Browse the repository at this point in the history
Windows ARM64 cross-compiled node.exe cannot be extracted on Windows 11

Fixes: #3695
  • Loading branch information
StefanStojanovic committed May 10, 2024
1 parent 102f630 commit 0caa983
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion ansible/roles/baselayout-windows/tasks/main.yml
Expand Up @@ -56,8 +56,18 @@
when: gyp_stat.stat.exists

# Necessary for compressing the Node package
# Pinned to v22.01 because later (v23.01) has issues when extracting ARM64 node.exe
- name: install 7Zip
win_chocolatey: name=7zip
win_chocolatey:
name: 7zip
pinned: yes
version: "22.1.0"

- name: install 7Zip
win_chocolatey:
name: 7zip.install
pinned: yes
version: "22.1.0"

# Utilities
- block:
Expand Down

0 comments on commit 0caa983

Please sign in to comment.