From be6744021d713487d11edd4156fa889ee6a267f2 Mon Sep 17 00:00:00 2001 From: Jason Murray Date: Thu, 30 Jul 2026 22:43:13 -0700 Subject: [PATCH] Fix Install split_tests: gunzip -f to allow re-running in the same job gunzip refuses to overwrite an existing output file without -f. That's fine for a single invocation, but any workflow that calls this action more than once in the same job/workspace (e.g. smoke-test-correctness in #15, which calls it 3x to test 3 partitions) hit: gzip: split_tests already exists; not overwritten ##[error]Process completed with exit code 2 introduced when #12 switched from 'curl | gunzip -v > split_tests' (unconditional overwrite via shell redirection) to 'gunzip -v split_tests.gz' (in-place decompress, which gunzip won't clobber by default). --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e5a37fe..db7b7d9 100644 --- a/action.yml +++ b/action.yml @@ -51,7 +51,7 @@ runs: echo "::error::split_tests ${SPLIT_TESTS_VERSION} checksum mismatch. Actual sha256: $(sha256sum split_tests.gz | cut -d' ' -f1)" >&2 exit 1 fi - gunzip -v split_tests.gz + gunzip -vf split_tests.gz chmod +x split_tests shell: bash - name: Split Tests