superfly / flyctl-actions

:octocat: GitHub Action that wraps the flyctl
Apache License 2.0
268 stars 34 forks source link

Version (v)ery confussing #62

Open mountainash opened 3 months ago

mountainash commented 3 months ago

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

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