diff options
Diffstat (limited to '.github/workflows/builds.yml')
-rw-r--r-- | .github/workflows/builds.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 6ad31da9e..1788e42d9 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -55,6 +55,9 @@ jobs: | |||
55 | with: | 55 | with: |
56 | node-version-file: '.nvmrc' | 56 | node-version-file: '.nvmrc' |
57 | cache: 'pnpm' | 57 | cache: 'pnpm' |
58 | - name: Use python specified in the '.python-version' file | ||
59 | uses: actions/setup-python@v5 | ||
60 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | ||
58 | - name: Install node dependencies | 61 | - name: Install node dependencies |
59 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | 62 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} |
60 | uses: nick-fields/retry@v3 | 63 | uses: nick-fields/retry@v3 |
@@ -177,6 +180,8 @@ jobs: | |||
177 | with: | 180 | with: |
178 | node-version-file: '.nvmrc' | 181 | node-version-file: '.nvmrc' |
179 | cache: 'pnpm' | 182 | cache: 'pnpm' |
183 | - name: Use python specified in the '.python-version' file | ||
184 | uses: actions/setup-python@v5 | ||
180 | - name: Install node dependencies | 185 | - name: Install node dependencies |
181 | uses: nick-fields/retry@v3 | 186 | uses: nick-fields/retry@v3 |
182 | with: | 187 | with: |
@@ -256,6 +261,8 @@ jobs: | |||
256 | with: | 261 | with: |
257 | node-version-file: '.nvmrc' | 262 | node-version-file: '.nvmrc' |
258 | cache: 'pnpm' | 263 | cache: 'pnpm' |
264 | - name: Use python specified in the '.python-version' file | ||
265 | uses: actions/setup-python@v5 | ||
259 | - name: Install node dependencies | 266 | - name: Install node dependencies |
260 | uses: nick-fields/retry@v3 | 267 | uses: nick-fields/retry@v3 |
261 | with: | 268 | with: |
@@ -356,6 +363,8 @@ jobs: | |||
356 | with: | 363 | with: |
357 | node-version-file: '.nvmrc' | 364 | node-version-file: '.nvmrc' |
358 | cache: 'pnpm' | 365 | cache: 'pnpm' |
366 | - name: Use python specified in the '.python-version' file | ||
367 | uses: actions/setup-python@v5 | ||
359 | #TODO - Remove this once https://github.com/electron-userland/electron-builder/issues/6933#issuecomment-1213438889 is resolved | 368 | #TODO - Remove this once https://github.com/electron-userland/electron-builder/issues/6933#issuecomment-1213438889 is resolved |
360 | - name: Tweak pnpm.cjs | 369 | - name: Tweak pnpm.cjs |
361 | run: | | 370 | run: | |