arcgis-maps-sdk-swift-samples
arcgis-maps-sdk-swift-samples copied to clipboard
Replace `file-changes-action` with `changed-files`
https://github.com/Esri/arcgis-maps-sdk-swift-samples/blob/0ad18f428fe220bd800a7d7c8844f5d31b1daeae/.github/workflows/main.yml#L36
https://github.com/trilom/file-changes-action hasn't seen an update for 3+ years. While it is still running fine, we may explore other options in case it breaks one day.
We may switch to https://github.com/tj-actions/changed-files which is actively maintained.
Presumably the change would be like below; also apply the change to the actual running script step.
- name: Detect changed file paths
- id: file_changes
- uses: trilom/file-changes-action@master
- name: Detect changed file paths
+ id: changed-files
+ uses: tj-actions/changed-files@v35
- name: Print changed file paths
run: |
echo 'Below shows a list of changed file paths'
- echo '${{ steps.file_changes.outputs.files}}'
+ echo '${{ steps.changed-files.outputs.all_changed_files}}'