From 49178fcb4717dc7a6b63066357a1b048499b4969 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sat, 27 Jan 2024 16:58:18 +0800 Subject: [PATCH] Fix the file path in the GMT Legacy Tests workflow --- .github/workflows/ci_tests_legacy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index c06f37dd18e..8f20ffb379f 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -95,7 +95,10 @@ jobs: mkdir -p ~/.gmt mv .gmt/* ~/.gmt # Change modification times of the two files, so GMT won't refresh it - touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt + # The two files are in the `~/.gmt/server` directory for GMT<=6.4, and + # in the `~/.gmt` directory for GMT>=6.5. + mv ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ~/.gmt/server/ + touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt ls -lhR ~/.gmt # Install the package that we want to test