Skip to content

Commit

Permalink
👷 Do not use the cache for dependencies when publishing to PyPI (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Mar 28, 2024
1 parent 6de7646 commit 4b60ed6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ jobs:
# Issue ref: https://github.com/actions/setup-python/issues/436
# cache: "pip"
# cache-dependency-path: pyproject.toml
- uses: actions/cache@v3
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}
- name: Install build dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install build
- name: Build distribution
run: python -m build
Expand Down

0 comments on commit 4b60ed6

Please sign in to comment.