@@ -10,24 +10,24 @@ jobs:
1010 runs-on : ubuntu-latest
1111 needs : [checks]
1212 steps :
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v4
1414
15- - name : Install uv
16- uses : astral-sh/setup-uv@v3
17- with :
18- enable-cache : true
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v3
17+ with :
18+ enable-cache : true
1919
20- - name : Set up Python 3.12
21- run : uv python install 3.12
20+ - name : Set up Python 3.12
21+ run : uv python install 3.12
2222
23- - name : Build
24- run : uv build
23+ - name : Build
24+ run : uv build
2525
26- - name : Upload artifacts
27- uses : actions/upload-artifact@v4
28- with :
29- name : release-dists
30- path : dist/
26+ - name : Upload artifacts
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : release-dists
30+ path : dist/
3131
3232 checks :
3333 uses : ./.github/workflows/shared.yml
@@ -39,17 +39,17 @@ jobs:
3939 needs :
4040 - release-build
4141 permissions :
42- id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
42+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
4343
4444 steps :
45- - name : Retrieve release distributions
46- uses : actions/download-artifact@v4
47- with :
48- name : release-dists
49- path : dist/
45+ - name : Retrieve release distributions
46+ uses : actions/download-artifact@v4
47+ with :
48+ name : release-dists
49+ path : dist/
5050
51- - name : Publish package distributions to PyPI
52- uses : pypa/gh-action-pypi-publish@release/v1
51+ - name : Publish package distributions to PyPI
52+ uses : pypa/gh-action-pypi-publish@release/v1
5353
5454 docs-publish :
5555 runs-on : ubuntu-latest
@@ -62,16 +62,19 @@ jobs:
6262 run : |
6363 git config user.name github-actions[bot]
6464 git config user.email 41898282+github-actions[bot]@users.noreply.github.com
65- - name : " Set up Python"
66- uses : actions/setup-python@v5
65+
66+ - name : Install uv
67+ uses : astral-sh/setup-uv@v3
6768 with :
68- python-version-file : " .python-version"
69+ enable-cache : true
70+
6971 - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
7072 - uses : actions/cache@v4
7173 with :
7274 key : mkdocs-material-${{ env.cache_id }}
7375 path : .cache
7476 restore-keys : |
7577 mkdocs-material-
78+
7679 - run : uv sync --frozen --group docs
7780 - run : uv run --no-sync mkdocs gh-deploy --force
0 commit comments