From cf661d6bcfd459f287577909b96f11e0e5c210f7 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 4 Sep 2026 20:29:39 +0800 Subject: [PATCH] CI: Touch gmt_data_server.txt and gmt_hash_server.txt so they're not outdated --- .github/workflows/build.yml | 4 +++- .github/workflows/docker.yml | 4 +++- .github/workflows/tests.yml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5293a9285d..f743e28cb0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -137,7 +137,9 @@ jobs: echo "${INSTALLDIR}/bin" >> $GITHUB_PATH - name: Download cached GMT remote data from GitHub Artifacts - run: gh run download -n gmt-cache -D ~/.gmt/static/ + run: | + gh run download -n gmt-cache -D ~/.gmt/static/ + touch ~/.gmt/static/gmt_data_server.txt ~/.gmt/static/gmt_hash_server.txt env: GH_TOKEN: ${{ github.token }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1f95a2cd8de..fad863c86a8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -115,7 +115,9 @@ jobs: echo "${INSTALLDIR}/bin" >> $GITHUB_PATH - name: Download cached GMT remote data from GitHub Artifacts - run: gh run download -n gmt-cache -D ~/.gmt/static/ + run: | + gh run download -n gmt-cache -D ~/.gmt/static/ + touch ~/.gmt/static/gmt_data_server.txt ~/.gmt/static/gmt_hash_server.txt env: GH_TOKEN: ${{ github.token }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ff4ec6d49ba..bae1aa07ab6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -161,7 +161,9 @@ jobs: echo "${INSTALLDIR}/bin" >> $GITHUB_PATH - name: Download cached GMT remote data from GitHub Artifacts - run: gh run download -n gmt-cache -D ~/.gmt/static/ + run: | + gh run download -n gmt-cache -D ~/.gmt/static/ + touch ~/.gmt/static/gmt_data_server.txt ~/.gmt/static/gmt_hash_server.txt env: GH_TOKEN: ${{ github.token }}