File tree 7 files changed +17
-6
lines changed
7 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Cache GMT remote data files and upload as artifacts
2
2
#
3
- # This workflow downloads data files needed by PyGMT tests/documentation from
4
- # the GMT data server and uploads as workflow artifacts which can be accessed
5
- # by other GitHub Actions workflows.
3
+ # This workflow downloads data files needed by PyGMT tests/documentation from the GMT
4
+ # data server and uploads them as workflow artifacts, which can then be accessed by other
5
+ # GitHub Actions workflows.
6
6
#
7
- # It is scheduled to run every Sunday at 12:00 (UTC). If new remote files are
8
- # needed urgently, maintainers can update the workflow file or the
9
- # 'pygmt/helpers/caching.py' file to refresh the cache.
7
+ # It is scheduled to run every Sunday at 12:00 (UTC). If new remote files are needed
8
+ # urgently, maintainers can refresh the cache by one of the following methods:
9
+ #
10
+ # 1. Update this workflow file
11
+ # 2. Update the `pygmt/helpers/caching.py` file
12
+ # 3. Go to https://github.com/GenericMappingTools/pygmt/actions/workflows/cache_data.yaml
13
+ # and click the "Run workflow" button
10
14
#
11
15
name : Cache data
12
16
16
20
paths :
17
21
- ' pygmt/helpers/caching.py'
18
22
- ' .github/workflows/cache_data.yaml'
23
+ workflow_dispatch :
19
24
# Schedule runs on 12 noon every Sunday
20
25
schedule :
21
26
- cron : ' 0 12 * * 0'
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ name: Check Links
10
10
on :
11
11
# Uncomment the 'pull_request' line below to trigger the workflow in PR
12
12
# pull_request:
13
+ workflow_dispatch :
13
14
# Schedule runs on 12 noon every Sunday
14
15
schedule :
15
16
- cron : ' 0 12 * * 0'
Original file line number Diff line number Diff line change 34
34
- ' examples/**'
35
35
- ' README.md'
36
36
- ' .github/workflows/ci_docs.yml'
37
+ workflow_dispatch :
37
38
release :
38
39
types :
39
40
- published
Original file line number Diff line number Diff line change 9
9
# push:
10
10
# branches: [ main ]
11
11
# pull_request:
12
+ workflow_dispatch :
12
13
# Schedule weekly tests on Sunday
13
14
schedule :
14
15
- cron : ' 0 0 * * 0'
Original file line number Diff line number Diff line change 33
33
paths :
34
34
- ' pygmt/**'
35
35
- ' .github/workflows/ci_tests.yaml'
36
+ workflow_dispatch :
36
37
release :
37
38
types :
38
39
- published
Original file line number Diff line number Diff line change 20
20
paths :
21
21
- ' pygmt/**'
22
22
- ' .github/workflows/ci_tests_dev.yaml'
23
+ workflow_dispatch :
23
24
# Schedule tests on Monday/Wednesday/Friday
24
25
schedule :
25
26
- cron : ' 0 0 * * 1,3,5'
Original file line number Diff line number Diff line change 17
17
# paths:
18
18
# - 'pygmt/**'
19
19
# - '.github/workflows/ci_tests_legacy.yaml'
20
+ workflow_dispatch :
20
21
# Schedule tests on Tuesday
21
22
schedule :
22
23
- cron : ' 0 0 * * 2'
You can’t perform that action at this time.
0 commit comments