Skip to content

Commit c3ae18a

Browse files
fix(automations): pin supabase CLI to v2.98.2 (#1141)
supabase/cli v2.99.0 changed release asset naming to include the version number in the filename (supabase_2.99.0_linux_amd64.tar.gz instead of supabase_linux_amd64.tar.gz). This breaks setup-cli@v1's download URL construction when using version: latest, causing a 404 on all PR staging checks. Pin to v2.98.2 until setup-cli is updated to handle the new naming. Co-authored-by: Ona <no-reply@ona.com>
1 parent 51e5df1 commit c3ae18a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deploy-migrations.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ jobs:
4343
if: steps.check-secrets.outputs.skip == 'false'
4444

4545
# supabase/setup-cli@v1 still targets node20; keep FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 until they ship a node24 version
46+
# Pinned to 2.98.2: v2.99.0 changed asset naming (added version in filename),
47+
# breaking setup-cli@v1's download URL construction for `latest`.
4648
- uses: supabase/setup-cli@v1
4749
if: steps.check-secrets.outputs.skip == 'false'
4850
with:
49-
version: latest
51+
version: 2.98.2
5052

5153
- name: Link staging project
5254
if: steps.check-secrets.outputs.skip == 'false'
@@ -76,9 +78,10 @@ jobs:
7678
- uses: actions/checkout@v6
7779

7880
# supabase/setup-cli@v1 still targets node20; keep FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 until they ship a node24 version
81+
# Pinned to 2.98.2: v2.99.0 changed asset naming, breaking setup-cli@v1.
7982
- uses: supabase/setup-cli@v1
8083
with:
81-
version: latest
84+
version: 2.98.2
8285

8386
- name: Link Supabase project
8487
run: supabase link --project-ref $SUPABASE_PROJECT_ID

0 commit comments

Comments
 (0)