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
05d5f7c0d4
commit
282e288ecc
1 changed files with 1 additions and 4 deletions
5
.github/workflows/build_and_publish.yml
vendored
5
.github/workflows/build_and_publish.yml
vendored
|
|
@ -23,11 +23,11 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
id: set-cache
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Set cache location for Ubuntu (Python)
|
||||
id: set-cache
|
||||
if: |
|
||||
startsWith(matrix.os, 'ubuntu') &&
|
||||
startsWith(matrix.python-version, '3')
|
||||
|
|
@ -36,7 +36,6 @@ jobs:
|
|||
echo "::set-output name=dir::$(python -c "import sys; print(\"/opt/hostedtoolcache/Python/\" + sys.version.split("" "")[0] + \"/\")")"
|
||||
ls ${{ steps.set-cache.outputs.dir }}
|
||||
- name: Set cache location for Ubuntu (PyPy)
|
||||
id: set-cache
|
||||
if: |
|
||||
startsWith(matrix.os, 'ubuntu') &&
|
||||
startsWith(matrix.python-version, 'pypy')
|
||||
|
|
@ -45,7 +44,6 @@ jobs:
|
|||
echo "::set-output name=dir::$(python -c "import sys; print(\"/opt/hostedtoolcache/PyPy/\" + sys.version.split("" "")[0] + \"/\")")"
|
||||
ls ${{ steps.set-cache.outputs.dir }}
|
||||
- name: Set cache location for macOS (Python)
|
||||
id: set-cache
|
||||
if: |
|
||||
startsWith(matrix.os, 'macOS') &&
|
||||
startsWith(matrix.python-version, '3')
|
||||
|
|
@ -54,7 +52,6 @@ jobs:
|
|||
echo "::set-output name=dir::$(python -c "import sys; print(\"/Users/runner/hostedtoolcache/Python/\" + sys.version.split("" "")[0] + \"/\")")"
|
||||
ls ${{ steps.set-cache.outputs.dir }}
|
||||
- name: Set cache location for macOS (PyPy)
|
||||
id: set-cache
|
||||
if: |
|
||||
startsWith(matrix.os, 'macOS') &&
|
||||
startsWith(matrix.python-version, 'pypy')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue