Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix CI (install protoc for publish task) #78

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI
on:
push:
tags:
- 'v*.*.*'
- "v*.*.*"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope this is intentional

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's some auto format of the editor. I did not notice but it does not matter anything

branches:
- main
pull_request:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down
Loading