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

Support cases with no arch or platform in the artifact name #72

Open
t3mi opened this issue Nov 9, 2023 · 1 comment
Open

Support cases with no arch or platform in the artifact name #72

t3mi opened this issue Nov 9, 2023 · 1 comment

Comments

@t3mi
Copy link

t3mi commented Nov 9, 2023

Please add support for cases when binary was published using custom naming scheme like without platform/architecture. Currently, the action is failing as it can't find the binary:

- uses: jaxxstorm/[email protected]
  with:
    extension-matching: disable
    rename-to: cli
    repo: <private repo>/cli
    tag: latest
    token: ***

Action log:

Run jaxxstorm/action-install-gh-release@c5ead9a448b4660cf1e7866ee22e4dc56538031a
==> System reported platform: linux
==> Using platform: linux
==> System reported arch: x64
==> Using arch: x64
==> File extension matching disabled
==> Will rename downloaded release to cli
==> Binaries will be located at: /opt/hostedtoolcache/cli/cli/latest/linux-x64
searching for sha256sums.txt.asc with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*
searching for cli-alpine with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*
searching for cli-linux with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*
searching for cli-win.exe with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*
Error: Could not find a release for latest. Found: sha256sums.txt.asc,cli-alpine,cli-linux,cli-win.exe
@jaxxstorm
Copy link
Owner

Please send a pull request with this functionality, and I'll review it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants