From 99b3a9810c653ecc28d2f5c56c7f1214751f9fe3 Mon Sep 17 00:00:00 2001 From: tai2 Date: Fri, 3 Nov 2023 00:09:52 +0900 Subject: [PATCH] Use repository variable for deno version --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/udd.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a0def1..9eca169 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 with: - deno-version: 1.37.2 + deno-version: ${{ vars.DENO_VERSION }} - name: Compile run: | # Linux diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76cfdb5..528375a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - deno-version: [1.37.2] + deno-version: ["${{ vars.DENO_VERSION }}"] steps: - name: Git Checkout Deno Module diff --git a/.github/workflows/udd.yml b/.github/workflows/udd.yml index 03222fa..8221a4f 100644 --- a/.github/workflows/udd.yml +++ b/.github/workflows/udd.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 with: - deno-version: 1.37.2 + deno-version: ${{ vars.DENO_VERSION }} - name: Update dependencies run: | deno run -A https://deno.land/x/udd/main.ts src/deps/*.ts src/deps/std/*.ts