Skip to content

Commit 25a52ff

Browse files
Improve Supabase CLI installation process in E2E tests workflow
1 parent 4b3c986 commit 25a52ff

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@ jobs:
2525

2626
- name: Install Supabase CLI
2727
run: |
28-
# Remove any existing supabase binary
29-
rm -f supabase
28+
# Create a temporary directory for extraction
29+
mkdir -p /tmp/supabase-cli
30+
cd /tmp/supabase-cli
3031
# Download and extract
3132
curl -fsSL https://github.com/supabase/cli/releases/download/v1.123.4/supabase_linux_amd64.tar.gz | tar -xz
3233
# Make executable and move to system path
3334
chmod +x supabase
3435
sudo mv supabase /usr/local/bin/
36+
# Clean up
37+
cd /
38+
rm -rf /tmp/supabase-cli
3539
# Verify installation
3640
supabase --version
3741

0 commit comments

Comments
 (0)