Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit f1e0db0

Browse files
committed
fix release github_action
1 parent 33232a2 commit f1e0db0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Release build
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- '*'
@@ -91,9 +92,9 @@ jobs:
9192

9293
- name: Build and install protobuf library
9394
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'
94-
run: |
95-
git clone --depth=1 --recursive -b v25.1 https://github.com/protocolbuffers/protobuf
96-
cd protobuf && cmake . && cmake --build . --parallel 10 && sudo cmake --install .
95+
uses: arduino/setup-protoc@v3
96+
with:
97+
version: "25.1"
9798

9899
- name: Restore cached cargo
99100
uses: swatinem/rust-cache@v2

0 commit comments

Comments
 (0)