Skip to content

Commit 98eeb6c

Browse files
authored
Merge pull request Expensify#72823 from Expensify/Rory-FixSetupPythonAction
[No QA] Use immutable action reference for setup-python
2 parents 78b3db9 + 7b7496e commit 98eeb6c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,13 @@ jobs:
298298
with:
299299
IS_DESKTOP_BUILD: true
300300

301+
# v6.0.0
301302
- name: Setup Python for node-gyp
302303
id: setup-python
303-
uses: actions/setup-python@v5
304+
uses: actions/setup-python@18566f86b301499665bd3eb1a2247e0849c64fa5
304305
with:
305306
python-version: '3.12'
307+
cache: 'pip'
306308

307309
- name: Ensure setuptools for node-gyp
308310
run: python -m pip install --upgrade pip setuptools

.github/workflows/testBuild.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,13 @@ jobs:
185185
with:
186186
IS_DESKTOP_BUILD: true
187187

188+
# v6.0.0
188189
- name: Setup python for node-gyp
189190
id: setup-python
190-
uses: actions/setup-python@v5
191+
uses: actions/setup-python@18566f86b301499665bd3eb1a2247e0849c64fa5
191192
with:
192193
python-version: '3.12'
194+
cache: 'pip'
193195

194196
- name: Ensure setuptools for node-gyp
195197
run: python -m pip install --upgrade pip setuptools

0 commit comments

Comments
 (0)