Skip to content

Commit

Permalink
chore: add prereqs to release
Browse files Browse the repository at this point in the history
  • Loading branch information
ktechmidas committed Oct 11, 2024
1 parent b1a0970 commit d16e4ca
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,28 @@ jobs:
arch: arm64
target: aarch64-apple-darwin
steps:
- uses: dtolnay/rust-toolchain@master
name: Install Rust toolchain
with:
toolchain: ${{ inputs.toolchain }}

- name: Install protoc
id: deps-protoc
shell: bash
run: |
curl -Lo /tmp/protoc.zip \
https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip
unzip /tmp/protoc.zip -d ${HOME}/.local
echo "PROTOC=${HOME}/.local/bin/protoc" >> $GITHUB_ENV
export PATH="${PATH}:${HOME}/.local/bin"
- name: Rust cache
uses: Swatinem/rust-cache@v2

- name: "Compile Protobuf definitions (needed by fmt, doc, etc.)"
shell: bash
run: cargo build -p tenderdash-proto

- name: Check out code
uses: actions/checkout@v4

Expand Down

0 comments on commit d16e4ca

Please sign in to comment.