mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-22 03:03:29 +00:00
Debug CI Cache.
This commit is contained in:
parent
282e288ecc
commit
4cb7d2daa8
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build_and_publish.yml
vendored
8
.github/workflows/build_and_publish.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue