From beddf647814ca04f4a3f4e56f7a37f9f64815681 Mon Sep 17 00:00:00 2001 From: jiaxiao zhou Date: Wed, 22 May 2024 22:55:20 +0000 Subject: [PATCH] fix(release): fix another syntax error on runtime_sub Signed-off-by: jiaxiao zhou --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71a57b46b..4c6401869 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,12 +66,12 @@ jobs: with: script: | const crate = '${{ inputs.crate }}'; + const runtime = crate.replace(/^containerd-shim-/, ''); const non_shim_crates = ['wasm', 'wasm-test-modules', 'oci-tar-builder']; if (non_shim_crates.includes(runtime)) { core.setOutput('runtime', 'common'); core.setOutput('is_shim', false) } else { - const runtime = crate.replace(/^containerd-shim-/, ''); core.setOutput('runtime', runtime); core.setOutput('is_shim', true); }