Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12fad78

Browse files
authored
cache .mo files for build time optimization (#320)
* Cache .mo files* Avoid clean cache
1 parentadcbce5 commit12fad78

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎.github/workflows/sync.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,19 @@ jobs:
2727
repository:'python/cpython'
2828
ref:${{env.VERSION}}
2929
path:cpython
30+
-uses:actions/cache/restore@v3
31+
with:
32+
path:|
33+
cpython/Doc/build
34+
docs
35+
key:cache-${{ inputs.version }}-${{ github.run_id }}
36+
restore-keys:cache-${{ inputs.version }}-
3037
-name:Checkout Current Branch
3138
uses:actions/checkout@v3
3239
with:
3340
ref:${{env.VERSION}}
3441
path:docs
42+
clean:false
3543
-name:prepare
3644
run:.github/scripts/prepare.sh
3745
-name:update
@@ -47,7 +55,9 @@ jobs:
4755
run:.github/scripts/build.sh
4856
-uses:actions/cache/save@v3
4957
with:
50-
path:cpython/Doc/build
58+
path:|
59+
cpython/Doc/build
60+
docs
5161
key:cache-${{ inputs.version }}-${{ github.run_id }}
5262
-name:stat
5363
run:python .github/scripts/tx_stat.py > ./docs/.stat.json

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp