From e371ac49dc43e6e0ff37998083fea050ae3676be Mon Sep 17 00:00:00 2001 From: Devashish Dixit Date: Fri, 23 Feb 2024 10:25:02 +0800 Subject: [PATCH] Update release workflow --- .github/workflows/release.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42100ad..ee72c7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,18 +14,15 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 + - name: Set up protoc + uses: arduino/setup-protoc@v3 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: - profile: minimal toolchain: stable - override: true - name: Build - uses: actions-rs/cargo@v1 - with: - command: build - args: --release + run: cargo build --release - name: Get version id: get_version uses: battila7/get-version-action@v2