fix: Fix publish draft binary gh action (#174)

This commit is contained in:
Steve Degosserie 2025-09-18 01:21:49 +02:00 committed by GitHub
parent 85ae70e42e
commit cb877be46b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -10,6 +10,8 @@ on:
to:
description: tag (ex. v0.2.0) to generate release note and binaries from
required: true
pull_request:
branches: [main]
jobs:
build-binary:

View file

@ -16,10 +16,11 @@ WORKDIR /
RUN echo "*** Installing Basic dependencies ***"
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
RUN apt install --assume-yes git clang curl libpq-dev libssl-dev llvm libudev-dev make protobuf-compiler pkg-config unzip
RUN echo "Installing protoc v${PROTOC_VER}..." \
RUN curl -Lo protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/protoc-${PROTOC_VER}-linux-x86_64.zip" \
&& unzip -q protoc.zip -d /usr/local/ \
&& rm protoc.zip \
RUN echo "*** Installing protoc v${PROTOC_VER} ***"
RUN curl -Lo /tmp/protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/protoc-${PROTOC_VER}-linux-x86_64.zip" \
&& unzip -q /tmp/protoc.zip -d /usr/local/ \
&& rm /tmp/protoc.zip
RUN set -e