From dfb5c71648ec1f161f84e62c5eb82a8c69d41472 Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Fri, 13 Feb 2026 15:12:46 +0000 Subject: [PATCH] chore: Add support for ARM64 Linux Refs: https://github.com/leonid-shevtsov/split_tests/pull/12 --- action.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3c361af..23b3fa1 100644 --- a/action.yml +++ b/action.yml @@ -36,7 +36,15 @@ runs: using: composite steps: - name: Install split_tests - run: curl -L "https://github.com/leonid-shevtsov/split_tests/releases/latest/download/split_tests.linux.gz" | gunzip -v > split_tests && chmod +x split_tests + run: | + BINARY_URL=https://github.com/leonid-shevtsov/split_tests/releases/latest/download + if [ $RUNNER_ARCH = ARM -o $RUNNER_ARCH = ARM64 ] + then + BINARY_URL=$BINARY_URL/split_tests.linux.arm64.gz + else + BINARY_URL=$BINARY_URL/split_tests.linux.gz + fi + curl -L $BINARY_URL | gunzip -v > split_tests && chmod +x split_tests shell: bash - name: Split Tests id: split-tests