mirror of https://github.com/tiangolo/fastapi.git
👷 Fix CI, do not attempt to publish `fastapi-slim` (#14958)
This commit is contained in:
parent
69ae1d0f28
commit
c9455d5400
|
|
@ -8,11 +8,6 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
package:
|
|
||||||
- fastapi
|
|
||||||
- fastapi-slim
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: read
|
||||||
|
|
@ -26,14 +21,9 @@ jobs:
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
# Issue ref: https://github.com/actions/setup-python/issues/436
|
|
||||||
# cache: "pip"
|
|
||||||
# cache-dependency-path: pyproject.toml
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v7
|
uses: astral-sh/setup-uv@v7
|
||||||
- name: Build distribution
|
- name: Build distribution
|
||||||
run: uv build
|
run: uv build
|
||||||
env:
|
|
||||||
TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }}
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: uv publish
|
run: uv publish
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue