aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-30 21:05:22 -0500
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-04-30 22:09:51 -0500
commiteeb5e664dd0baa945b6e9c0083a0795a6d721e0a (patch)
tree2bd464db8868278bfdefdb7deb4248f91bfbf79f /.github
parentReplace dependency on 'cld' with 'languagedetect' to remove native compilatio... (diff)
downloadferdium-app-eeb5e664dd0baa945b6e9c0083a0795a6d721e0a.tar.gz
ferdium-app-eeb5e664dd0baa945b6e9c0083a0795a6d721e0a.tar.zst
ferdium-app-eeb5e664dd0baa945b6e9c0083a0795a6d721e0a.zip
Install the required version of 'python' in CI builds
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/builds.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 8902d60f8..acd92eb48 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -52,6 +52,10 @@ jobs:
52 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} 52 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }}
53 with: 53 with:
54 node-version-file: ".nvmrc" 54 node-version-file: ".nvmrc"
55 - name: Use python specified in 'CONTRIBUTING.md'
56 uses: actions/setup-python@v3
57 with:
58 python-version: '3.10.4'
55 - id: should_run 59 - id: should_run
56 name: Check whether there are any commits since this run was last triggered and push them and/or set the output 60 name: Check whether there are any commits since this run was last triggered and push them and/or set the output
57 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} 61 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }}
@@ -148,6 +152,10 @@ jobs:
148 uses: actions/setup-node@v3 152 uses: actions/setup-node@v3
149 with: 153 with:
150 node-version-file: ".nvmrc" 154 node-version-file: ".nvmrc"
155 - name: Use python specified in 'CONTRIBUTING.md'
156 uses: actions/setup-python@v3
157 with:
158 python-version: '3.10.4'
151 - name: Install npm 159 - name: Install npm
152 run: npm i -gf "npm@$(node -p 'require("./package.json").engines.npm')" && npm -v 160 run: npm i -gf "npm@$(node -p 'require("./package.json").engines.npm')" && npm -v
153 - name: Install pnpm 161 - name: Install pnpm
@@ -235,6 +243,10 @@ jobs:
235 uses: actions/setup-node@v3 243 uses: actions/setup-node@v3
236 with: 244 with:
237 node-version-file: ".nvmrc" 245 node-version-file: ".nvmrc"
246 - name: Use python specified in 'CONTRIBUTING.md'
247 uses: actions/setup-python@v3
248 with:
249 python-version: '3.10.4'
238 - name: Install npm 250 - name: Install npm
239 run: npm i -gf "npm@$(node -p 'require("./package.json").engines.npm')" && npm -v 251 run: npm i -gf "npm@$(node -p 'require("./package.json").engines.npm')" && npm -v
240 - name: Install pnpm 252 - name: Install pnpm
@@ -327,6 +339,10 @@ jobs:
327 uses: actions/setup-node@v3 339 uses: actions/setup-node@v3
328 with: 340 with:
329 node-version-file: ".nvmrc" 341 node-version-file: ".nvmrc"
342 - name: Use python specified in 'CONTRIBUTING.md'
343 uses: actions/setup-python@v3
344 with:
345 python-version: '3.10.4'
330 - name: Install npm 346 - name: Install npm
331 run: npm i -gf "npm@$(node -p 'require(\"./package.json\").engines.npm')" && npm -v 347 run: npm i -gf "npm@$(node -p 'require(\"./package.json\").engines.npm')" && npm -v
332 - name: Install pnpm 348 - name: Install pnpm