Skip to content

Commit 61236e2

Browse files
committed
ci: install splitsh via 'go install' (no prebuilt binary in v2)
1 parent 4574ec0 commit 61236e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/split-php.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
3434
- name: Install splitsh-lite
3535
run: |
36-
curl -sL https://github.com/splitsh/lite/releases/download/v2.0.0/lite_linux_amd64.tar.gz | tar -xz -C /tmp
37-
sudo mv /tmp/splitsh-lite /usr/local/bin/
36+
go install github.com/splitsh/lite@v2.0.0
37+
echo "$HOME/go/bin" >> "$GITHUB_PATH"
3838
3939
- name: Determine ref to mirror
4040
id: ref
@@ -59,7 +59,7 @@ jobs:
5959
run: |
6060
set -euo pipefail
6161
git remote add split git@github.com:gabepri/auto-html-i18n-php.git
62-
SHA=$(splitsh-lite --prefix=packages/php)
62+
SHA=$(lite --prefix=packages/php)
6363
echo "Split SHA: $SHA"
6464
if [ -z "$TAG" ]; then
6565
echo "Mirroring main → main"

0 commit comments

Comments
 (0)