Skip to content

Commit 0b47e61

Browse files
authored
Fix deprecation warning of CI (#330)
Fix deprecation warning of CI by replacing output variables with pip cache
1 parent 6044fc8 commit 0b47e61

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/github-ci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,14 @@ jobs:
6363
with:
6464
python-version: ${{ matrix.python-version }}
6565
architecture: x64
66+
cache: 'pip'
6667

6768
- name: Check python version
6869
run: python -c "import sys; import platform; print('Python %s implementation %s on %s' % (sys.version, platform.python_implementation(), sys.platform))"
6970

7071
- name: Upgrade pip
7172
run: python -m pip install --upgrade pip
7273

73-
- name: Get pip cache dir
74-
id: pip-cache
75-
run: |
76-
echo "::set-output name=dir::$(pip cache dir)"
77-
78-
- name: pip cache
79-
uses: actions/cache@v3
80-
with:
81-
path: ${{ steps.pip-cache.outputs.dir }}
82-
key: ${{ runner.os }}-${{ matrix.python-version }}-pythonpip
83-
8474
- name: Install mip for testing (PyPy)
8575
if: ${{ matrix.python-version == 'pypy3.9-v7.3.9' }}
8676
run: python -m pip install .[test,numpy]

0 commit comments

Comments
 (0)