From 867e87fb73d4a6919d57e558844522fdd92dd070 Mon Sep 17 00:00:00 2001 From: MXWXZ Date: Fri, 30 Aug 2024 15:22:52 +0800 Subject: [PATCH] fix protoc in workflows --- .github/workflows/plugin_release.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/plugin_release.yml b/.github/workflows/plugin_release.yml index 0280687..cd6fae5 100644 --- a/.github/workflows/plugin_release.yml +++ b/.github/workflows/plugin_release.yml @@ -62,6 +62,8 @@ jobs: - uses: actions/checkout@v4 - name: Cache cargo & target directories uses: Swatinem/rust-cache@v2 + - name: Install Protoc + uses: arduino/setup-protoc@v3 - name: Build binary uses: houseabsolute/actions-rust-cross@v0 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2bbad49..01cf492 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,6 +68,8 @@ jobs: - uses: actions/checkout@v4 - name: Cache cargo & target directories uses: Swatinem/rust-cache@v2 + - name: Install Protoc + uses: arduino/setup-protoc@v3 - name: Build binary uses: houseabsolute/actions-rust-cross@v0 with: