This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 6be0790f822 Add always upload cache (#1392)
6be0790f822 is described below
commit 6be0790f822181fbe1e91e23f2ddc024a3a85609
Author: Albumen Kevin <[email protected]>
AuthorDate: Wed Aug 17 13:21:23 2022 +0800
Add always upload cache (#1392)
* Add always upload cache
* fix path
---
.github/actions/always-upload-cache | 1 +
.github/workflows/link_check.yml | 2 +-
.gitmodules | 3 +++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/actions/always-upload-cache
b/.github/actions/always-upload-cache
new file mode 160000
index 00000000000..af4dd99ec5b
--- /dev/null
+++ b/.github/actions/always-upload-cache
@@ -0,0 +1 @@
+Subproject commit af4dd99ec5b9c91a41d9c7de3a6b2f372427fcc9
diff --git a/.github/workflows/link_check.yml b/.github/workflows/link_check.yml
index 6eafe8ac229..70ac2f2b61c 100644
--- a/.github/workflows/link_check.yml
+++ b/.github/workflows/link_check.yml
@@ -34,7 +34,7 @@ jobs:
- name: Setup Html Test
run: curl https://htmltest.wjdp.uk | bash
- name: Cache Html Test Ref
- uses: actions/cache@v2
+ uses: ./.github/actions/always-upload-cache
with:
path: tmp/.htmltest/refcache.json
key: ${{ runner.os }}-htmltest-ref-${{ github.run_number }}-${{
github.run_id }}-
diff --git a/.gitmodules b/.gitmodules
index fe9bd41b1be..8aea7303b75 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -5,3 +5,6 @@
[submodule ".github/themes/docsy"]
path = .github/themes/docsy
url = https://github.com/google/docsy.git
+[submodule ".github/actions/always-upload-cache"]
+ path = .github/actions/always-upload-cache
+ url = https://github.com/pat-s/always-upload-cache.git