Skip to content

Commit

Permalink
fix release github_action
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Jul 22, 2024
1 parent 33232a2 commit f1e0db0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Release build

on:
workflow_dispatch:
push:
tags:
- '*'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f1e0db0

Please sign in to comment.