From 369d954f525a249c5099c8eb9dc2b038d98739d3 Mon Sep 17 00:00:00 2001 From: Gabriel Facco de Arruda Date: Wed, 22 Mar 2023 21:44:56 -0400 Subject: [PATCH] Update release-binary.yml --- .github/workflows/release-binary.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index afeae398..db030ade 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -11,12 +11,18 @@ jobs: uses: actions/checkout@v3 with: submodules: true + + - name: Cache cargo + uses: actions/cache@v2 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo - name: Setup for checks run: sudo apt install -y git clang curl libssl-dev llvm libudev-dev protobuf-compiler - - - name: Install Rust toolchain - uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Build binary run: cargo build --release