File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed
Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 2222 node-version : ' 20.18.1'
2323
2424 - name : Cache Yarn
25- id : yarn-cache
2625 uses : actions/cache@v3
2726 with :
2827 path : |
@@ -32,21 +31,24 @@ jobs:
3231 restore-keys : |
3332 ${{ runner.os }}-yarn-
3433
35- - name : Install Yarn and Build Tools
36- run : npm install -g yarn windows-build-tools && yarn config set ignore-engines true
34+ - name : Set up Python and MSVS
35+ run : |
36+ npm config set python "C:\\hostedtoolcache\\windows\\Python\\3.9.0\\x64\\python.exe"
37+ npm config set msvs_version 2022
3738
38- - name : Cache node_modules
39- id : node-modules-cache
40- uses : actions/cache@v3
41- with :
42- path : node_modules
43- key : ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
44- restore-keys : |
45- ${{ runner.os }}-node-modules-
39+ - name : Fix OpenSSL Issue
40+ run : |
41+ set npm_config_openssl_no_asm=true
42+
43+ - name : Install Yarn
44+ run : npm install -g yarn && yarn config set ignore-engines true
4645
47- - name : Install dependencies
48- if : steps.node-modules-cache.outputs.cache-hit != 'true'
49- run : yarn install
46+ - name : Clear Cache and Reinstall
47+ run : |
48+ npm cache clean --force
49+ yarn cache clean
50+ rm -rf node_modules yarn.lock
51+ yarn install --frozen-lockfile
5052
5153 - name : Run build script
5254 run : .\build.bat
5557 uses : actions/upload-artifact@v4
5658 with :
5759 name : dist
58- path : dist/*.exe
60+ path : dist/*.exe
You can’t perform that action at this time.
0 commit comments