From 3b25b86765fa1c4c7db67145ec71841896c9ab64 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 9 Jul 2026 15:42:03 +0200 Subject: [PATCH] fix: correct step for setting version --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 652d144..b13056f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,9 +36,6 @@ jobs: sudo apt-get install -y protobuf-compiler protoc --version - - name: Set version - run: sed -i "s/version = \"0.0.0\"/version = \"${{ github.ref_name }}\"/" Cargo.toml - - name: Check formatting run: cargo fmt --all -- --check @@ -51,6 +48,9 @@ jobs: - name: Run tests run: cargo test --locked --features all + - name: Set version + run: sed -i "s/version = \"0.0.0\"/version = \"${{ github.ref_name }}\"/" Cargo.toml + - name: Cargo Login run: cargo login ${{secrets.CARGO_REGISTRY_TOKEN}}