fix publish-pypi
This commit is contained in:
parent
302d8999ba
commit
2d6b3873ec
1 changed files with 28 additions and 25 deletions
9
.github/workflows/publish-pypi.yml
vendored
9
.github/workflows/publish-pypi.yml
vendored
|
|
@ -62,10 +62,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config user.name github-actions[bot]
|
git config user.name github-actions[bot]
|
||||||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
- name: "Set up Python"
|
|
||||||
uses: actions/setup-python@v5
|
- name: Install uv
|
||||||
|
uses: astral-sh/setup-uv@v3
|
||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
enable-cache: true
|
||||||
|
|
||||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -73,5 +75,6 @@ jobs:
|
||||||
path: .cache
|
path: .cache
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
mkdocs-material-
|
mkdocs-material-
|
||||||
|
|
||||||
- run: uv sync --frozen --group docs
|
- run: uv sync --frozen --group docs
|
||||||
- run: uv run --no-sync mkdocs gh-deploy --force
|
- run: uv run --no-sync mkdocs gh-deploy --force
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue