变更文件
确定自上次工作流程运行以来哪些文件已更改。
用法
steps :
- uses : actions/checkout@v2
with :
# Be sure to set the fetch-depth to 0 to allow arbitrary analysis of previous commits
fetch-depth : 0
# Be sure to set an ID on the step that invokes the action. We need this later to access outputs!
- id : changed
uses : colpal/actions-changed-files@v2
- run : echo '${{ steps.changed.outputs.all