Skip to content

v2.99.0 - Supabase CLI action started failing because package is missing #5257

@felipebn

Description

@felipebn

Describe the bug

I think I got hit by a maybe unexpected change in releases.

https://github.com/marketplace/actions/supabase-cli-action tries to download the CLI using the latest release without using a version in the artifact (ofc) which given latest release the file is not there.

Run bun src/main.ts
##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /home/runner/work/_temp/8cd9e9a6-355c-4e41-b4d6-a98c89ff8c84.sh
##[debug]Downloading https://github.com/supabase/cli/releases/latest/download/supabase_linux_amd64.tar.gz
##[debug]Destination /home/runner/work/_temp/9fac8271-8989-4008-86ea-5dda210c75d6
##[debug]Failed to download from "https://github.com/supabase/cli/releases/latest/download/supabase_linux_amd64.tar.gz". Code(404) Message(Not Found)
Error: Unexpected HTTP response: 404
Error: Process completed with exit code 1.
##[debug]Finished: run
##[debug]Evaluating: steps.setup-cli.outputs.version

To Reproduce

Setup a simple github action with the CLI without a pinned version.

Expected behavior

It should be able to download from the latest.

Workaround

Pinning the version in the Github action works as other than latest works.

Screenshots

2.99.0 artifacts
Image

2.98.1 artifacts
Image

My GH action failure

Image

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions