github: avoid caching in publish workflow
This commit is contained in:
11
.github/workflows/publish.yaml
vendored
11
.github/workflows/publish.yaml
vendored
@@ -22,15 +22,6 @@ jobs:
|
|||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
- name: Cache virtual environment
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
# We are hashing requirements-dev.txt and requirements-extra.txt which
|
|
||||||
# contain all dependencies needed to run the tests and examples.
|
|
||||||
key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('linux-py3.10-requirements.txt') }}-${{ hashFiles('dev-requirements.txt') }}
|
|
||||||
path: .venv
|
|
||||||
- name: Install system packages
|
|
||||||
run: sudo apt-get install -y portaudio19-dev
|
|
||||||
- name: Setup virtual environment
|
- name: Setup virtual environment
|
||||||
run: |
|
run: |
|
||||||
python -m venv .venv
|
python -m venv .venv
|
||||||
@@ -38,7 +29,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r linux-py3.10-requirements.txt -r dev-requirements.txt
|
pip install -r dev-requirements.txt
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|||||||
Reference in New Issue
Block a user