Skip to content

Commit

Permalink
denoland/setup-deno using .tool-versions file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 committed Jul 6, 2024
1 parent b11a35f commit 511ca7a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/actions/setup-deno-with-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ runs:
key: deno-${{ github.job }}-${{ runner.os }}-${{ hashFiles('deno.lock') }}
restore-keys: |
deno-${{ github.job }}-${{ runner.os }}-
- name: Set .tool-versions to output
id: tool-versions
run: awk '{ print $1"="$2 }' .tool-versions >> $GITHUB_OUTPUT
shell: bash
- uses: denoland/setup-deno@v1
with:
deno-version: v${{ steps.tool-versions.outputs.deno }}
deno-version-file: .tool-versions
- name: Setup Node.js for dnt
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 511ca7a

Please sign in to comment.