Debug CI Cache.

This commit is contained in:
Zied Aouini 2021-04-16 17:15:17 +02:00
parent 282e288ecc
commit 4cb7d2daa8

View file

@ -33,7 +33,7 @@ jobs:
startsWith(matrix.python-version, '3')
run: |
python -c "import sys; print(sys.version.split("" "")[0])"
echo "::set-output name=dir::$(python -c "import sys; print(\"/opt/hostedtoolcache/Python/\" + sys.version.split("" "")[0] + \"/\")")"
echo "::set-output name=dir::$(python -c "import sys; print(\"/opt/hostedtoolcache/Python/\" + sys.version.split("" "")[0] + \"/lib/\")")"
ls ${{ steps.set-cache.outputs.dir }}
- name: Set cache location for Ubuntu (PyPy)
if: |
@ -41,7 +41,7 @@ jobs:
startsWith(matrix.python-version, 'pypy')
run: |
python -c "import sys; print(sys.version.split("" "")[0])"
echo "::set-output name=dir::$(python -c "import sys; print(\"/opt/hostedtoolcache/PyPy/\" + sys.version.split("" "")[0] + \"/\")")"
echo "::set-output name=dir::$(python -c "import sys; print(\"/opt/hostedtoolcache/PyPy/\" + sys.version.split("" "")[0] + \"/lib/\")")"
ls ${{ steps.set-cache.outputs.dir }}
- name: Set cache location for macOS (Python)
if: |
@ -49,7 +49,7 @@ jobs:
startsWith(matrix.python-version, '3')
run: |
python -c "import sys; print(sys.version.split("" "")[0])"
echo "::set-output name=dir::$(python -c "import sys; print(\"/Users/runner/hostedtoolcache/Python/\" + sys.version.split("" "")[0] + \"/\")")"
echo "::set-output name=dir::$(python -c "import sys; print(\"/Users/runner/hostedtoolcache/Python/\" + sys.version.split("" "")[0] + \"/lib/\")")"
ls ${{ steps.set-cache.outputs.dir }}
- name: Set cache location for macOS (PyPy)
if: |
@ -57,7 +57,7 @@ jobs:
startsWith(matrix.python-version, 'pypy')
run: |
python -c "import sys; print(sys.version.split("" "")[0])"
echo "::set-output name=dir::$(python -c "import sys; print(\"/Users/runner/hostedtoolcache/PyPy/\" + sys.version.split("" "")[0] + \"/\")")"
echo "::set-output name=dir::$(python -c "import sys; print(\"/Users/runner/hostedtoolcache/PyPy/\" + sys.version.split("" "")[0] + \"/lib/\")")"
ls ${{ steps.set-cache.outputs.dir }}
- name: Pip cache
uses: actions/cache@v2