From eeb5e664dd0baa945b6e9c0083a0795a6d721e0a Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 30 Apr 2022 21:05:22 -0500 Subject: Install the required version of 'python' in CI builds --- .github/workflows/builds.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to '.github/workflows/builds.yml') 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: if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} with: node-version-file: ".nvmrc" + - name: Use python specified in 'CONTRIBUTING.md' + uses: actions/setup-python@v3 + with: + python-version: '3.10.4' - id: should_run name: Check whether there are any commits since this run was last triggered and push them and/or set the output if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} @@ -148,6 +152,10 @@ jobs: uses: actions/setup-node@v3 with: node-version-file: ".nvmrc" + - name: Use python specified in 'CONTRIBUTING.md' + uses: actions/setup-python@v3 + with: + python-version: '3.10.4' - name: Install npm run: npm i -gf "npm@$(node -p 'require("./package.json").engines.npm')" && npm -v - name: Install pnpm @@ -235,6 +243,10 @@ jobs: uses: actions/setup-node@v3 with: node-version-file: ".nvmrc" + - name: Use python specified in 'CONTRIBUTING.md' + uses: actions/setup-python@v3 + with: + python-version: '3.10.4' - name: Install npm run: npm i -gf "npm@$(node -p 'require("./package.json").engines.npm')" && npm -v - name: Install pnpm @@ -327,6 +339,10 @@ jobs: uses: actions/setup-node@v3 with: node-version-file: ".nvmrc" + - name: Use python specified in 'CONTRIBUTING.md' + uses: actions/setup-python@v3 + with: + python-version: '3.10.4' - name: Install npm run: npm i -gf "npm@$(node -p 'require(\"./package.json\").engines.npm')" && npm -v - name: Install pnpm -- cgit v1.2.3-70-g09d2