Skip to content

Commit 52551de

Browse files
authored
cache
1 parent 296c3d3 commit 52551de

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/scripts/commit.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ if ! git status -s|grep '\.po'; then
1111
fi
1212
git add .
1313
git commit -m '[po] auto sync'
14-
header="$(echo -n token:"$GITHUB_TOKEN" | base64)"
1514
git push

.github/workflows/python-312.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,17 @@ jobs:
3232
run: .github/scripts/update.sh
3333
env:
3434
TX_TOKEN: ${{ secrets.TRANSIFEX_APIKEY }}
35+
- name: Restore doctrees Cache
36+
uses: actions/cache/restore@v3
37+
with:
38+
path: ./cpython/Doc/build/doctrees
39+
key: sphinx-cache-${{env.VERSION}}
3540
- name: build
3641
run: .github/scripts/build.sh
42+
- name: Save doctrees Cache
43+
uses: actions/cache/save@v3
44+
with:
45+
path: ./cpython/Doc/build/doctrees
46+
key: sphinx-cache-${{env.VERSION}}
3747
- name: commit
3848
run: .github/scripts/commit.sh
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy