From bff9c8c2c48a9661c2c6a59d41e9c256192d73f3 Mon Sep 17 00:00:00 2001
From: David Sherret <dsherret@users.noreply.github.com>
Date: Sat, 2 Jul 2022 00:22:07 -0400
Subject: [PATCH] ci: use a known good version of deno instead of latest in
 publish scripts (#15037)

---
 .github/workflows/cargo_publish.yml | 4 +++-
 .github/workflows/version_bump.yml  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cargo_publish.yml b/.github/workflows/cargo_publish.yml
index a0163c596d..6c8bd40b56 100644
--- a/.github/workflows/cargo_publish.yml
+++ b/.github/workflows/cargo_publish.yml
@@ -30,7 +30,9 @@ jobs:
       - name: Install deno
         uses: denoland/setup-deno@v1
         with:
-          deno-version: v1.x
+          # use a recent version instead of the latest version in case
+          # the latest version ever has issues that breaks publishing
+          deno-version: v1.23.2
 
       - name: Publish
         env:
diff --git a/.github/workflows/version_bump.yml b/.github/workflows/version_bump.yml
index bb31bb0498..a72ee1cf6c 100644
--- a/.github/workflows/version_bump.yml
+++ b/.github/workflows/version_bump.yml
@@ -41,7 +41,9 @@ jobs:
       - name: Install deno
         uses: denoland/setup-deno@v1
         with:
-          deno-version: v1.x
+          # use a recent version instead of the latest version in case
+          # the latest version ever has issues that breaks publishing
+          deno-version: v1.23.2
 
       - name: Run version bump
         run: |