Skip to content

Commit 663b132

Browse files
committed
fix: fix set-output in workflow
1 parent 4f0b097 commit 663b132

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
- name: Get pip cache dir
2424
id: pip-cache
2525
run: |
26-
echo "::set-output name=dir::$(pip cache dir)"
26+
echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_OUTPUT
2727
2828
- name: Cache
2929
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
3030
with:
31-
path: ${{ steps.pip-cache.outputs.dir }}
31+
path: ${{ steps.pip-cache.outputs.PIP_CACHE_DIR }}
3232
key:
3333
${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
3434
restore-keys: |

0 commit comments

Comments
 (0)