Skip to content

Commit 354ba57

Browse files
authored
🧪 Fix the Get pip cache dir CI step for Windows runners (#942)
1 parent 8f58e0e commit 354ba57

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/ci-cd.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ jobs:
211211
id: pip-cache
212212
run: |
213213
echo "dir=$(pip cache dir)" >> "${GITHUB_OUTPUT}"
214+
shell: bash
214215
- name: Cache PyPI
215216
uses: actions/cache@v4
216217
with:

‎CHANGES/942.contrib.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
In the GitHub Actions CI/CD workflow definition,
2+
the ``Get pip cache dir`` step has been fixed for
3+
Windows runners by adding ``shell: bash``.
4+
See `actions/runner#2224 <https://github.com/actions/runner/issues/2224>`_
5+
for more details.

0 commit comments

Comments
 (0)