Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for all Task build architectures
Previously, the action could only install Task when the runner had an x86-64 or i386 architecture. Since the GitHub-hosted runners are currently all x86-64, that is sufficient for most users. However, it is also possible to use GitHub actions with self-hosted runners of other architectures. Task builds are available for more architectures, so the action's code unnecessarily limited its utility. Support for all architectures with available builds is hereby added. In order to provide some possibility of automatic support for additional builds that may become available in the future, if the action code does not contain a mapped value for the host architecture, the value from Node.js is used verbatim. Because the mapping between the architecture value provided by Node.js to the filename suffix used in the Task build archives is a bit confusing, I added mapping entries for all suffixes, even in the cases where the two values are equal. Co-authored-by: Luca Bianconi <71259950+Bikappa@users.noreply.github.com>
- Loading branch information