Skip to content

Commit a500d83

Browse files
committed
Github action updated
1 parent a1573b7 commit a500d83

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@ jobs:
1313
deploy:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v4
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
1818
with:
1919
python-version: 3.x
20-
- uses: actions/cache@v2
20+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21+
- uses: actions/cache@v4
2122
with:
22-
key: ${{ github.ref }}
23+
key: mkdocs-material-${{ env.cache_id }}
2324
path: .cache
25+
restore-keys: |
26+
mkdocs-material-
2427
- run: pip install -r docs/requirements.txt
2528
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)