File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 6565 npm_config_zmq_shared : false
6666 npm_config_arch : ${{ matrix.node_arch }}
6767 npm_config_target_arch : ${{ matrix.node_arch }}
68+ setup_node_arch : ${{ matrix.node_arch }}
6869 steps :
6970 - uses : actions/checkout@v4
7071
8081 restore-keys : |
8182 "cache-OS:${{ matrix.os }}-arch:${{ matrix.node_arch }}-ZMQ_DRAFT:${{ env.npm_config_zmq_draft }}-Node:${{ matrix.node_version }}-"
8283
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+
8391 - name : Setup Cpp
8492 if : ${{ !matrix.docker }}
8593 uses : aminya/setup-cpp@v1
99107 uses : actions/setup-node@v4
100108 with :
101109 node-version : ${{ matrix.node_version }}
102- architecture : ${{ matrix.node_arch }}
110+ architecture : ${{ env.setup_node_arch }}
103111
104112 - name : Install Mac-OS x86_64 Dependencies
105113 if : ${{ contains(matrix.os, 'macos') && matrix.node_arch == 'x64' }}
You can’t perform that action at this time.
0 commit comments