https://github.com/maximousblk/setup-deno
GitHub Action to set up Deno
https://github.com/maximousblk/setup-deno
deno github-actions javascript typescript
Last synced: 5 months ago
JSON representation
GitHub Action to set up Deno
- Host: GitHub
- URL: https://github.com/maximousblk/setup-deno
- Owner: maximousblk
- License: mit
- Created: 2021-02-22T10:17:29.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-25T13:21:59.000Z (about 3 years ago)
- Last Synced: 2025-10-03T08:10:44.714Z (9 months ago)
- Topics: deno, github-actions, javascript, typescript
- Language: TypeScript
- Homepage: https://github.com/marketplace/actions/install-deno
- Size: 13.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup Deno
GitHub Action to set up Deno.
# Usage
### Inputs
- `deno-version` - Deno version.
- values: ``, ``, `'canary'` or `'latest'`
- default: `'latest'`
### Outputs
- `version` - tag of the installed Deno binary
- `deno_path` - path of the installed Deno binary
# Examples
Basic:
```yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Deno
uses: maximousblk/setup-deno@v2 # Installs latest version
- run: deno -V
```
Matrix:
```yaml
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
deno: ['v1.23.0', 'v1.23.x', '1.x', '1', 'latest', 'canary']
steps:
- uses: actions/checkout@v3
- name: Setup Deno (${{ matrix.deno }})
uses: maximousblk/setup-deno@v2
with:
deno-version: ${{ matrix.deno }}
- run: deno -V
```
## License
This project is licensed under [The MIT License](./LICENSE)