NestarZ
NestarZ2w ago

deno-version v2.x and Deno.exit(0) not working as expected in GitHub Actions

name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
I'm encountering an issue where Deno.exit(0) within my GitHub Actions workflow fails when deno-version is set to v2.x. Expected Behavior: Deno.exit(0) should successfully terminate the job. Actual Behavior: Deno.exit(0) does not terminate the job as expected. Workaround: Setting deno-version: v2.1.4 resolves the issue. Questions: Is this a known issue with the setup-deno action and deno-version: v2.x? Are there any specific configurations or workarounds for this issue besides pinning to a specific minor version? Is there a more reliable way to terminate jobs within GitHub Actions using Deno.exit(0)?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?