trilom / file-changes-action

This action can be added, and you will get outputs of all of the files that have changed in your repository for you to use.
MIT License
167 stars 48 forks source link

Resolve github action warning messages before they break #148

Open 808sAndBR opened 1 year ago

808sAndBR commented 1 year ago

Type of Change

Resolves

Describe Changes

Github has deprecated the set-output command and it will be disabled soon. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This action is doing its output setting this way via the @actions/core package it is importing. By upgrading the version from 1.2.3 to 1.10.0 and recompiling we seem to be able to avoid this without any further work needed.

I tried to follow the compilation commands as well as I could guess through them based on the .github/ action files but my minimized file seems to be multi line instead of one but seems to work regardless. I am new to typescript but happy to rerun the build different if preferred to get this PR merged (just tell me what to do). It does seem to work fine as is though.

Note: If this package has more active development done in the future, this should also be updated in its own .github/ directory. I would be happy to help with this if someone wants to do more active dev work in the future.