Skip to content

Version (v)ery confussing #62

@mountainash

Description

@mountainash

Semi-related to #59

Setting the version "with" argument to the latest release causes the Action to fail/throw without an error 😿 (even when setting GHActions to run in "debug" mode).

Screenshot of this Action failing on GitHub Actions UI in Debug mode

I've tried the following variations of pinning the version:

  with:
    version: 0.2.80
OR
    version: v0.2.80
OR
    version: 'v0.2.80'

Without setting the version the Action installs the FLY CLI as expected, but it's installing an older version from https://github.com/superfly/flyctl/releases/download/v0.2.72/flyctl_0.2.72_Linux_x86_64.tar.gz

  • could the version arg be checked for a v prefix and add/remove it if it's needed
  • could a descriptive error be thrown when the binary can't be found

Extra: my preference would be to allow the version number to be pinned in D.D.DD format (without the v prefix to be inline with other popular Actions.

Screenshot of a Workflow YAML showing Digital Ocean Action and Bun Action with pinned version numbers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions