Skip to content

Commit

Permalink
fix: try cache clear on poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
m-clare committed Dec 2, 2024
1 parent 396e677 commit 4fdf2c1
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 71 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry toml
VERSION=$(python -c "import toml; print(toml.load('pyproject.toml')['tool']['poetry']['version'])")
poetry version $VERSION
poetry lock --no-update
python -m pip install poetry
poetry install
- name: Build source distribution
Expand Down Expand Up @@ -56,10 +53,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry toml
VERSION=$(python -c "import toml; print(toml.load('pyproject.toml')['tool']['poetry']['version'])")
poetry version $VERSION
poetry lock --no-update
python -m pip install poetry
poetry install
- name: Run tests
Expand All @@ -72,6 +66,7 @@ jobs:
- name: Build wheels
run: |
poetry cache clear . --all
poetry build -f wheel
env:
CIBW_SKIP: pp* cp27* cp34* cp35* cp36* cp37* cp38* cp39*
Expand Down
Loading

0 comments on commit 4fdf2c1

Please sign in to comment.