Skip to content

Codespace ubiquitous trout qv94gqv97x66hx7pq - #136

Open
victorjavierhernandez739-hub wants to merge 4 commits into
denoland:mainfrom
victorjavierhernandez739-hub:codespace-ubiquitous-trout-qv94gqv97x66hx7pq
Open

victorjavierhernandez739-hub wants to merge 4 commits into
denoland:mainfrom
victorjavierhernandez739-hub:codespace-ubiquitous-trout-qv94gqv97x66hx7pq

Conversation

@victorjavierhernandez739-hub

Copy link
Copy Markdown
denoland/setup-deno@v2

Version from input

To pick the latest version of specific release channel, set deno-version to one of the following:

Channel | Description -- | -- latest | Latest Stable release version lts | Latest Long-Term-Support version rc | Latest Release-Candidate version canary | Latest Canary release version

- uses: denoland/setup-deno@v2
with:
deno-version: lts

A version can also be selected by providing a valid Semver range or commit hash.

Examples

  • Specific versions: "1.8.2", 2.0.0-rc.1
  • Semver range: "^2", "~1.7", v2.1.x, vx.x.x
  • Commit hash: e7b7129b7a92b7500ded88f8f5baa25a7f59e56e
- uses: denoland/setup-deno@v2
with:
deno-version: v2.1.x

Version from file

The extension can also automatically read the version file from .tool-versions

- uses: denoland/setup-deno@v2
with:
deno-version-file: .tool-versions

The extension can also automatically read the file from dvm.

- u
denoland/setup-deno@v2
Version from input
To pick the latest version of specific release channel, set deno-version to one of the following:

Channel Description
latest Latest Stable release version
lts Latest Long-Term-Support version
rc Latest Release-Candidate version
canary Latest Canary release version

  • uses: denoland/setup-deno@v2
    with:
    deno-version: lts
    A version can also be selected by providing a valid Semver range or commit hash.

Examples

Specific versions: "1.8.2", 2.0.0-rc.1
Semver range: "^2", "~1.7", v2.1.x, vx.x.x
Commit hash: e7b7129b7a92b7500ded88f8f5baa25a7f59e56e

  • uses: denoland/setup-deno@v2
    with:
    deno-version: v2.1.x
    Version from file
    The extension can also automatically read the version file from .tool-versions

  • uses: denoland/setup-deno@v2
    with:
    deno-version-file: .tool-versions
    The extension can also automatically read the file from dvm.

  • u

somaz94 and others added 4 commits August 4, 2026 11:31
A version file is repo content, so it must not be able to choose what gets
downloaded. Neither dvm's registry_binary key nor a URL in deno_version is
accepted as a version: both fail parseVersionRange before any download.
Cover both with a job that expects the action to fail.

Signed-off-by: somaz <genius5711@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants