lots0logs / gh-action-get-changed-files

GitHub Action that saves changed files as JSON for use by other actions.
MIT License
88 stars 38 forks source link

outputs.all does not include deleted files #23

Closed LongLiveCHIEF closed 1 year ago

LongLiveCHIEF commented 3 years ago

I am seeing consistently that runs where I delete a file, that the deleted file is not included in the outputs.all.

Here's an example commit: https://github.com/LongLiveCHIEF/atsamd/commit/ad1e8762f680132ea2723636f5c5faba32e5878f and the associated run: https://github.com/LongLiveCHIEF/atsamd/runs/3792750091?check_suite_focus=true#step:5:33

In the line referenced, the input to the generateBuildMatrix is from outputs.all. Notice how in the commit above, i changed the action file, and deleted one of the src files, but the array in the function only contains the modified file.

lots0logs commented 1 year ago

That is intentional and it is documented in the README.