From d98c2cec316028332d66db1125034ccd9a6edfab Mon Sep 17 00:00:00 2001 From: mrbean-bremen Date: Sun, 12 May 2024 20:10:41 +0200 Subject: [PATCH] Fix CI warning for deprecated methods --- .github/workflows/testsuite.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index a279b8b9..5be872b6 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -49,9 +49,14 @@ jobs: - name: Get pip cache dir id: pip-cache + shell: bash run: | python -m pip install --upgrade pip - echo "::set-output name=dir::$(pip cache dir)" + if [[ '${{ matrix.os }}' == 'windows-latest' ]]; then + echo "dir=$(pip cache dir)" >> $env.GITHUB_OUTPUT + else + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT + fi - name: Cache dependencies id: cache-dep