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

Commit df0a760

Browse files
committed
Restore
1 parent 456c793 commit df0a760

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
key: ${{ runner.os }}-${{ env.MDBOOK_VERSION }}--${{ env.MDBOOK_LINKCHECK2_VERSION }}--${{ env.MDBOOK_TOC_VERSION }}--${{ env.MDBOOK_MERMAID_VERSION }}
3737

3838
- name: Restore cached Linkcheck
39-
if: github.event_name != 'schedule'
39+
if: github.event_name == 'schedule'
4040
id: cache-linkcheck-restore
4141
uses: actions/cache/restore@v4
4242
with:
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Save cached Linkcheck
6565
id: cache-linkcheck-save
66-
if: github.event_name != 'schedule'
66+
if: github.event_name == 'schedule'
6767
uses: actions/cache/save@v4
6868
with:
6969
path: book/linkcheck/cache.json

‎ci/linkcheck.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set_github_token() {
88
}
99

1010
# https://docs.github.com/en/actions/reference/environment-variables
11-
if [ true ] ; then # running in scheduled job
11+
if [ "$GITHUB_EVENT_NAME"="schedule" ] ; then # running in scheduled job
1212
FLAGS=""
1313
USE_TOKEN=1
1414

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /