mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
fix: Fix publish draft binary gh action (#174)
This commit is contained in:
parent
85ae70e42e
commit
cb877be46b
2 changed files with 7 additions and 4 deletions
2
.github/workflows/task-publish-binary
vendored
2
.github/workflows/task-publish-binary
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue