63
63
build :
64
64
name : build (${{ matrix.config.name }})
65
65
needs : run-determination
66
+ if : needs.run-determination.outputs.result == 'true'
66
67
env :
67
68
BUILD_ARTIFACTS_PATH : electron-app/dist/build-artifacts
68
69
strategy :
@@ -82,17 +83,21 @@ jobs:
82
83
runs-on : ${{ matrix.config.runs-on }}
83
84
container : ${{ fromJSON(matrix.config.container) }}
84
85
steps :
85
- - name : Checkout
86
+ - name : Checkout Repository
86
87
uses : actions/checkout@v4
87
88
88
- - name : Install System Dependencies
89
+ - name : Install Dependencies
89
90
run : |
90
91
sudo apt-get update
92
+ <<<<<<< HEAD
91
93
sudo apt-get install -y chromium-browser python3-distutils build-essential libssl-dev make gcc g++
92
94
93
95
- name : Configure Python for node-gyp
94
96
run : |
95
97
sudo npm config set python $(which python3)
98
+ =======
99
+ sudo apt-get install -y chromium-browser python3-distutils python3-pip build-essential libssl-dev
100
+ >>>>>>> fd5854b13d82956104126877874b00c7b1e3be2b
96
101
97
102
- name : Install Node.js
98
103
uses : actions/setup-node@v4
@@ -120,22 +125,28 @@ jobs:
120
125
repo-token : ${{ secrets.GITHUB_TOKEN }}
121
126
version : 3.x
122
127
123
- - name : Set Chromium executable path for Puppeteer
128
+ - name : Set Chromium Executable Path for Puppeteer
124
129
run : |
125
130
echo "PUPPETEER_EXECUTABLE_PATH=$(which chromium-browser)" >> $GITHUB_ENV
126
131
127
- - name : Install Dependencies & Build
128
- env :
129
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
132
+ - name : Install Project Dependencies
130
133
run : |
131
134
export PUPPETEER_SKIP_DOWNLOAD=true
132
- yarn install --check-files
135
+ yarn install --frozen-lockfile --check-files
136
+
137
+ - name : Fix Potential Node-Gyp Issues
138
+ run : |
139
+ npm rebuild node-gyp
140
+ yarn rebuild
141
+
142
+ - name : Build Project
143
+ run : |
133
144
yarn --cwd arduino-ide-extension build
134
145
yarn --cwd electron-app rebuild
135
146
yarn --cwd electron-app build
136
147
yarn --cwd electron-app package
137
148
138
- - name : Upload builds to job transfer artifact
149
+ - name : Upload Builds to Job Transfer Artifact
139
150
uses : actions/upload-artifact@v4
140
151
with :
141
152
name : ${{ env.JOB_TRANSFER_ARTIFACT_PREFIX }}${{ matrix.config.job-transfer-artifact-suffix }}
0 commit comments