File tree Expand file tree Collapse file tree 7 files changed +13
-5
lines changed Expand file tree Collapse file tree 7 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 77
77
mkdir -p ~/.gmt
78
78
mv .gmt/* ~/.gmt
79
79
# Change modification times of the two files, so GMT won't refresh it
80
- touch ~/.gmt/server/ gmt_data_server.txt ~/.gmt/server /gmt_hash_server.txt
80
+ touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt
81
81
ls -lhR ~/.gmt
82
82
83
83
# Install the package that we want to test
Original file line number Diff line number Diff line change 66
66
run : |
67
67
python -c "from pygmt.helpers.caching import cache_data; cache_data()"
68
68
69
+ - name : List downloaded remote files
70
+ run : ls -lhR ~/.gmt
71
+
69
72
# Upload the downloaded files as artifacts to GitHub
70
73
- name : Upload artifacts to GitHub
71
74
uses : actions/upload-artifact@v4
74
77
path : |
75
78
~/.gmt/cache
76
79
~/.gmt/server
80
+ ~/.gmt/gmt_data_server.txt
81
+ ~/.gmt/gmt_hash_server.txt
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124
124
mkdir -p ~/.gmt
125
125
mv .gmt/* ~/.gmt
126
126
# Change modification times of the two files, so GMT won't refresh it
127
- touch ~/.gmt/server/ gmt_data_server.txt ~/.gmt/server /gmt_hash_server.txt
127
+ touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt
128
128
ls -lhR ~/.gmt
129
129
130
130
# Install the package that we want to test
Original file line number Diff line number Diff line change 83
83
mkdir -p ~/.gmt
84
84
mv .gmt/* ~/.gmt
85
85
# Change modification times of the two files, so GMT won't refresh it
86
- touch ~/.gmt/server/ gmt_data_server.txt ~/.gmt/server /gmt_hash_server.txt
86
+ touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt
87
87
ls -lhR ~/.gmt
88
88
89
89
# Install the package that we want to test
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ jobs:
135
135
mkdir -p ~/.gmt
136
136
mv .gmt/* ~/.gmt
137
137
# Change modification times of the two files, so GMT won't refresh it
138
- touch ~/.gmt/server/ gmt_data_server.txt ~/.gmt/server /gmt_hash_server.txt
138
+ touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt
139
139
ls -lhR ~/.gmt
140
140
141
141
# Pull baseline image data from dvc remote (DAGsHub)
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ jobs:
147
147
mkdir -p ~/.gmt
148
148
mv .gmt/* ~/.gmt
149
149
# Change modification times of the two files, so GMT won't refresh it
150
- touch ~/.gmt/server/ gmt_data_server.txt ~/.gmt/server /gmt_hash_server.txt
150
+ touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt
151
151
ls -lhR ~/.gmt
152
152
153
153
# Install the package that we want to test
Original file line number Diff line number Diff line change 95
95
mkdir -p ~/.gmt
96
96
mv .gmt/* ~/.gmt
97
97
# Change modification times of the two files, so GMT won't refresh it
98
+ # The two files are in the `~/.gmt/server` directory for GMT<=6.4, and
99
+ # in the `~/.gmt` directory for GMT>=6.5.
100
+ mv ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ~/.gmt/server/
98
101
touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt
99
102
ls -lhR ~/.gmt
100
103
You can’t perform that action at this time.
0 commit comments