Skip to content

Commit 897b401

Browse files
committed
tar to zip
1 parent 9ab3116 commit 897b401

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,13 @@ jobs:
4646
run: |
4747
SQLEAN_VERSION=0.27.2
4848
case "${{ runner.os }}" in
49-
Linux) OS_SLUG=linux-amd64 ;;
50-
macOS) OS_SLUG=darwin-amd64 ;;
49+
Linux) OS_SLUG=linux-x86 ;;
50+
macOS) OS_SLUG=macos-x86 ;;
5151
esac
52-
curl -sL https://github.com/nalgeon/sqlean/releases/download/${SQLEAN_VERSION}/sqlean-${OS_SLUG}.tar.gz | tar xz
53-
echo "$PWD/bin" >> $GITHUB_PATH
54-
sqlean --version
52+
curl -sL -o sqlean-${OS_SLUG}.zip \
53+
https://github.com/nalgeon/sqlean/releases/download/${SQLEAN_VERSION}/sqlean-${OS_SLUG}.zipecho "$PWD/bin" >> $GITHUB_PATH
54+
unzip -q sqlean-${OS_SLUG}.zip -d .
55+
echo "$PWD" >> $GITHUB_PATH
5556
5657
- name: Set extension env
5758
run: |

0 commit comments

Comments
 (0)