From 7b7496e9ede9326b0eaf5af96b90b49b47d51922 Mon Sep 17 00:00:00 2001 From: rory Date: Thu, 16 Oct 2025 18:14:33 -0700 Subject: [PATCH] Use immutable action reference for setup-python --- .github/workflows/deploy.yml | 4 +++- .github/workflows/testBuild.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 709827daf2eb..b06e8bd97048 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -298,11 +298,13 @@ jobs: with: IS_DESKTOP_BUILD: true + # v6.0.0 - name: Setup Python for node-gyp id: setup-python - uses: actions/setup-python@v5 + uses: actions/setup-python@18566f86b301499665bd3eb1a2247e0849c64fa5 with: python-version: '3.12' + cache: 'pip' - name: Ensure setuptools for node-gyp run: python -m pip install --upgrade pip setuptools diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index 9719ace2d73c..601735f12eef 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -185,11 +185,13 @@ jobs: with: IS_DESKTOP_BUILD: true + # v6.0.0 - name: Setup python for node-gyp id: setup-python - uses: actions/setup-python@v5 + uses: actions/setup-python@18566f86b301499665bd3eb1a2247e0849c64fa5 with: python-version: '3.12' + cache: 'pip' - name: Ensure setuptools for node-gyp run: python -m pip install --upgrade pip setuptools