From ce837be44586673d7e9c8f57d6ee6379c9531623 Mon Sep 17 00:00:00 2001 From: Daniel Vigovszky Date: Wed, 6 Mar 2024 08:57:12 +0100 Subject: [PATCH] Fix CI (install protoc for publish task) --- .github/workflows/ci.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fbb9cd2..3182005 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,7 +2,7 @@ name: CI on: push: tags: - - 'v*.*.*' + - "v*.*.*" branches: - main pull_request: @@ -52,7 +52,7 @@ jobs: CI: true run: cargo test publish: - needs: [ build ] + needs: [build] if: "startsWith(github.ref, 'refs/tags/v')" runs-on: ubuntu-latest steps: @@ -75,6 +75,10 @@ jobs: with: toolchain: stable override: true + - name: Install Protoc + uses: arduino/setup-protoc@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - id: get_version uses: battila7/get-version-action@v2 - name: Publish crate