Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Update build-deno.yaml
Browse files Browse the repository at this point in the history
Use the version from the release metadata, not `GITHUB_REF`
  • Loading branch information
LukeChannings authored Mar 10, 2023
1 parent fd4635e commit 29e1735
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-deno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ jobs:
- name: Compile Deno
shell: bash
run: |
apt-get update -y && apt-get install -y zip unzip
echo "::echo::on"
echo "Compiling Deno version ${GITHUB_REF#refs/tags/}"
docker build -t deno-build --build-arg DENO_VERSION=${GITHUB_REF#refs/tags/} --file ./Dockerfile.compile .
echo "Compiling Deno version ${{ needs.metadata.outputs.version }}"
docker build -t deno-build --build-arg DENO_VERSION="${{ needs.metadata.outputs.version }}" --file ./Dockerfile.compile .
echo "Extracting compiled deno binary to $(pwd)"
CONTAINER_ID="$(docker create deno-build)"
docker cp "${CONTAINER_ID}:/deno/target/release/deno" .
Expand Down

0 comments on commit 29e1735

Please sign in to comment.