From 544652f8b48ac3a6a61f5722bf4bf37d1a406342 Mon Sep 17 00:00:00 2001 From: vyfor Date: Sat, 4 Jan 2025 01:35:30 +0500 Subject: [PATCH] ci: update semantic release --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dc6f938..206fc214 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,14 +59,6 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Set up Rust - uses: actions-rs/toolchain@v1 - id: rust-toolchain - with: - profile: minimal - toolchain: nightly - override: true - name: Cache Cargo uses: actions/cache@v4 @@ -79,6 +71,14 @@ jobs: ~/.cargo/git/db/ target/ key: ${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }} + + - name: Set up Rust + uses: actions-rs/toolchain@v1 + id: rust-toolchain + with: + profile: minimal + toolchain: nightly + override: true - name: Install semantic-release-cargo uses: taiki-e/install-action@v2