summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-09-19 20:24:20 -0400
committerGitHub <noreply@github.com>2023-09-19 20:24:20 -0400
commit81e55821d926248064c076afbd675f3e981d3e74 (patch)
tree8697f561937ffd75bd884fd09e97f046540269ac
parent997aa604dfd50c0f0ec6fd4db16b5034d2cfd726 (diff)
ci: install protoc on cargo_publish (#20577)
Closes https://github.com/denoland/deno/issues/20576
-rw-r--r--.github/workflows/cargo_publish.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/cargo_publish.yml b/.github/workflows/cargo_publish.yml
index e543bdb28..4b09a04c1 100644
--- a/.github/workflows/cargo_publish.yml
+++ b/.github/workflows/cargo_publish.yml
@@ -34,6 +34,12 @@ jobs:
# the latest version ever has issues that breaks publishing
deno-version: v1.31.3
+ - name: Install protoc
+ uses: arduino/setup-protoc@v2
+ with:
+ version: '21.12'
+ repo-token: '${{ secrets.GITHUB_TOKEN }}'
+
- name: Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}