Skip to content

Commit b4e5eb8

Browse files
committed
Save linkcheck cache always
1 parent 24f5950 commit b4e5eb8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
path: |
4242
~/book/linkcheck
4343
key: ${{ runner.os }}-${{ hashFiles('./book/linkcheck') }}
44+
save-always: true
4445

4546
- name: Install latest nightly Rust toolchain
4647
if: steps.mdbook-cache.outputs.cache-hit != 'true'

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 [ "$GITHUB_EVENT_NAME" = "schedule" ] ; then # running in scheduled job
11+
if [ yes ] ; then # running in scheduled job
1212
FLAGS=""
1313
USE_TOKEN=1
1414

0 commit comments

Comments
 (0)