GenericMappingTools / pygmt

A Python interface for the Generic Mapping Tools.
https://www.pygmt.org
BSD 3-Clause "New" or "Revised" License
763 stars 219 forks source link

CI: Pin actions/upload-artifact and peter-evans/slash-command-dispatch to the latest tag #3431

Closed seisman closed 2 months ago

seisman commented 2 months ago

Description of proposed changes

The actions/upload-artifact v4.4.0 introduced a breaking change, which excludes hidden files by default. This new version breaks the workflow in one of my repositories (here is the workflow run https://github.com/gmt-china/GMT_docs/actions/runs/10759759418 if you're interested). The new version should also affect our "Cache Data" workflow, since we upload the files in ~/.gmt, but actually the workflow is not affected (likely because we run it under macOS).

Anyway, it's always a good idea to pin actions to a specific tag so that workflows won't break suddenly due to upstream changes.