mirror of https://github.com/tiangolo/fastapi.git
Merge 6d9ca6f36a into 272204c0c7
This commit is contained in:
commit
ac6943caf6
|
|
@ -104,7 +104,7 @@ jobs:
|
||||||
path: docs/${{ matrix.lang }}/.cache
|
path: docs/${{ matrix.lang }}/.cache
|
||||||
- name: Build Docs
|
- name: Build Docs
|
||||||
run: python ./scripts/docs.py build-lang ${{ matrix.lang }}
|
run: python ./scripts/docs.py build-lang ${{ matrix.lang }}
|
||||||
- uses: actions/upload-artifact@v5
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: docs-site-${{ matrix.lang }}
|
name: docs-site-${{ matrix.lang }}
|
||||||
path: ./site/**
|
path: ./site/**
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ jobs:
|
||||||
# Do not store coverage for all possible combinations to avoid file size max errors in Smokeshow
|
# Do not store coverage for all possible combinations to avoid file size max errors in Smokeshow
|
||||||
- name: Store coverage files
|
- name: Store coverage files
|
||||||
if: matrix.coverage == 'coverage'
|
if: matrix.coverage == 'coverage'
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: coverage-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/coverage/.coverage.*') }}
|
name: coverage-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/coverage/.coverage.*') }}
|
||||||
path: coverage
|
path: coverage
|
||||||
|
|
@ -152,7 +152,7 @@ jobs:
|
||||||
- run: coverage combine coverage
|
- run: coverage combine coverage
|
||||||
- run: coverage html --title "Coverage for ${{ github.sha }}"
|
- run: coverage html --title "Coverage for ${{ github.sha }}"
|
||||||
- name: Store coverage HTML
|
- name: Store coverage HTML
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: coverage-html
|
name: coverage-html
|
||||||
path: htmlcov
|
path: htmlcov
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue