Skip to content

Commit

Permalink
Merge pull request #604 from containerd/fix-release-pipeline-substring2
Browse files Browse the repository at this point in the history
fix(release): fix another syntax error on runtime_sub
  • Loading branch information
Mossaka authored May 22, 2024
2 parents 8b945f9 + beddf64 commit 1a1393a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1a1393a

Please sign in to comment.