From f1e0db0b1dbea0e881b884bcc9c24647b4fa9b5a Mon Sep 17 00:00:00 2001 From: Kirill Starkov Date: Mon, 22 Jul 2024 10:50:19 +0300 Subject: [PATCH] fix release github_action --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3252def84..d3f2125bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Release build on: + workflow_dispatch: push: tags: - '*' @@ -91,9 +92,9 @@ jobs: - name: Build and install protobuf library if: matrix.target == 'arm-unknown-linux-gnueabihf' || matrix.target == 'x86_64-unknown-linux-gnu' || matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'x86_64-unknown-linux-musl' - run: | - git clone --depth=1 --recursive -b v25.1 https://github.com/protocolbuffers/protobuf - cd protobuf && cmake . && cmake --build . --parallel 10 && sudo cmake --install . + uses: arduino/setup-protoc@v3 + with: + version: "25.1" - name: Restore cached cargo uses: swatinem/rust-cache@v2