diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index a3d22ac8fc4..352c2292792 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -77,7 +77,7 @@ jobs: mkdir -p ~/.gmt mv .gmt/* ~/.gmt # Change modification times of the two files, so GMT won't refresh it - touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt + touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ls -lhR ~/.gmt # Install the package that we want to test diff --git a/.github/workflows/cache_data.yaml b/.github/workflows/cache_data.yaml index 89f0a2ec23e..33c9e9ee439 100644 --- a/.github/workflows/cache_data.yaml +++ b/.github/workflows/cache_data.yaml @@ -66,6 +66,9 @@ jobs: run: | python -c "from pygmt.helpers.caching import cache_data; cache_data()" + - name: List downloaded remote files + run: ls -lhR ~/.gmt + # Upload the downloaded files as artifacts to GitHub - name: Upload artifacts to GitHub uses: actions/upload-artifact@v4 @@ -74,3 +77,5 @@ jobs: path: | ~/.gmt/cache ~/.gmt/server + ~/.gmt/gmt_data_server.txt + ~/.gmt/gmt_hash_server.txt diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index e562f2f0581..35e48520cd8 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -124,7 +124,7 @@ jobs: mkdir -p ~/.gmt mv .gmt/* ~/.gmt # Change modification times of the two files, so GMT won't refresh it - touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt + touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ls -lhR ~/.gmt # Install the package that we want to test diff --git a/.github/workflows/ci_doctests.yaml b/.github/workflows/ci_doctests.yaml index b94a5266ec3..aed3ba3ae4a 100644 --- a/.github/workflows/ci_doctests.yaml +++ b/.github/workflows/ci_doctests.yaml @@ -83,7 +83,7 @@ jobs: mkdir -p ~/.gmt mv .gmt/* ~/.gmt # Change modification times of the two files, so GMT won't refresh it - touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt + touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ls -lhR ~/.gmt # Install the package that we want to test diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 92509f9b645..47bf9be6b90 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -135,7 +135,7 @@ jobs: mkdir -p ~/.gmt mv .gmt/* ~/.gmt # Change modification times of the two files, so GMT won't refresh it - touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt + touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ls -lhR ~/.gmt # Pull baseline image data from dvc remote (DAGsHub) diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index 6bc16a77db9..0906e084aef 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -147,7 +147,7 @@ jobs: mkdir -p ~/.gmt mv .gmt/* ~/.gmt # Change modification times of the two files, so GMT won't refresh it - touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt + touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ls -lhR ~/.gmt # Install the package that we want to test diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index 24251c75287..8f20ffb379f 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -95,6 +95,9 @@ jobs: mkdir -p ~/.gmt mv .gmt/* ~/.gmt # Change modification times of the two files, so GMT won't refresh it + # 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