Skip to content

Commit b287944

Browse files
authored
Add Proto Dependencies installation step
Added steps to install protobuf and Go dependencies in the GitHub Actions workflow. Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
1 parent f3ae358 commit b287944

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/gallery-agent.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ jobs:
3838
uses: actions/setup-go@v5
3939
with:
4040
go-version: '1.21'
41+
- name: Proto Dependencies
42+
run: |
43+
# Install protoc
44+
curl -L -s https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-x86_64.zip -o protoc.zip && \
45+
unzip -j -d /usr/local/bin protoc.zip bin/protoc && \
46+
rm protoc.zip
47+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2
48+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@1958fcbe2ca8bd93af633f11e97d44e567e945af
49+
PATH="$PATH:$HOME/go/bin" make protogen-go
4150
- uses: mudler/localai-github-action@v1.1
4251
with:
4352
model: 'qwen3-1.7b'

0 commit comments

Comments
 (0)