File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 65
65
npm_config_zmq_shared : false
66
66
npm_config_arch : ${{ matrix.node_arch }}
67
67
npm_config_target_arch : ${{ matrix.node_arch }}
68
+ setup_node_arch : ${{ matrix.node_arch }}
68
69
steps :
69
70
- uses : actions/checkout@v4
70
71
80
81
restore-keys : |
81
82
"cache-OS:${{ matrix.os }}-arch:${{ matrix.node_arch }}-ZMQ_DRAFT:${{ env.npm_config_zmq_draft }}-Node:${{ matrix.node_version }}-"
82
83
84
+ - name : Env map
85
+ run : |
86
+ if [ "${{ matrix.node_arch }}" = "ia32" ]; then
87
+ echo "setup_node_arch=x86" > $GITHUB_ENV
88
+ fi
89
+ shell : bash
90
+
83
91
- name : Setup Cpp
84
92
if : ${{ !matrix.docker }}
85
93
uses : aminya/setup-cpp@v1
99
107
uses : actions/setup-node@v4
100
108
with :
101
109
node-version : ${{ matrix.node_version }}
102
- architecture : ${{ matrix.node_arch }}
110
+ architecture : ${{ env.setup_node_arch }}
103
111
104
112
- name : Install Mac-OS x86_64 Dependencies
105
113
if : ${{ contains(matrix.os, 'macos') && matrix.node_arch == 'x64' }}
You can’t perform that action at this time.
0 commit comments