Skip to content

Commit

Permalink
fix: download protoc without just during the release (#2476)
Browse files Browse the repository at this point in the history
  • Loading branch information
tychoish committed Feb 1, 2024
1 parent 3859d04 commit 06343ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ jobs:
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: |-
set -eux &&
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to . &&
./just protoc &&
curl -L https://github.com/protocolbuffers/protobuf/releases/download/v23.1/protoc-23.1-linux-x86_64.zip -o protoc.zip
mkdir -p deps &&
unzip -o protoc.zip -d deps/protoc &&
rm protoc.zip
export PROTOC="$PWD/deps/protoc/bin/protoc" &&
cd bindings/nodejs &&
yarn build --target x86_64-unknown-linux-gnu &&
Expand Down

0 comments on commit 06343ff

Please sign in to comment.