Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for all Task build architectures #636

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Add support for all Task build architectures #636

merged 1 commit into from
Jan 31, 2023

Commits on Jan 31, 2023

  1. 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>
    per1234 and Bikappa committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    43e1bb8 View commit details
    Browse the repository at this point in the history