mirror of https://github.com/tiangolo/fastapi.git
👷 Do not use Python packages cache for publish (#11366)
This commit is contained in:
parent
43160896c5
commit
04249d589b
|
|
@ -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') }}-publish
|
||||
- name: Install build dependencies
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: pip install build
|
||||
- name: Build distribution
|
||||
run: python -m build
|
||||
|
|
|
|||
Loading…
Reference in New Issue