The update to 4.4.2 brings increased type strictness. Previously, exceptions were used in some catch blocks based on an
assumption of their type. But exceptions can have any type and that now results in errors (TS2345, TS2571). This is fixed
by narrowing the exceptions to the expected type before using them as such.
The default value of the version input is defined in the action metadata, so having another default setting in the code
is purely redundant and doubles the maintenance effort required on every major release of Task (note that they already
went out of sync).
Change project name to "arduino/setup-task"
The Task documentation consistently refers to the tool as "Task". Taskfile is the term used for Task's configuration file.
This action is setting up the Task tool, not setting up the Task configuration file, so "arduino/setup-task" is more
appropriate than "arduino/setup-taskfile".
In order to be recognized by GitHub's automatic license detection system, the license file must contain only the exact
license text, which can be sourced from choosealicense.com. Please do not modify this file in any way.