Warning
This post was published 39 days ago. The information described in this article may have changed.
Longshot here, but anyone have a working example of a GitHub Action build that does Protobuf compilation (with prost), on a ubuntu image?
No matter what I do (I've tried both arduino/setup-protoc@v3 as well as installing it directly with a run target sudo apt-get update && sudo apt-get install -y protobuf-compiler
) I end up with this compiler error:
Error: Custom { kind: NotFound, error: "Could not find `protoc`. If `protoc` is installed, try setting the `PROTOC` environment variable to the path of the `protoc` binary. To install it on Debian, run `apt-get install protobuf-compiler`. It is also available at https://github.com/protocolbuffers/protobuf/releases For more information: https://docs.rs/prost-build/#sourcing-protoc" }
(Yes, protoc gets installed by the build, PROTOC is set to the location where which protoc
proves it's installed (/usr/bin/protoc), and it has execute permissions set as well.)
1 post - 1 participant
🏷️ rust_feed