From 66445b575bb44c61c1a6955f872623dc3d95075f Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 21 Aug 2024 19:38:36 +0200 Subject: [PATCH] fix: added build step --- .github/workflows/publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e57a961..cb564df 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,9 +60,11 @@ jobs: run: sed -i "s/version = \"0.0.0\"/version = \"${{ github.ref_name }}\"/" Cargo.toml - name: Cargo Login run: cargo login ${{secrets.CARGO_REGISTRY_TOKEN}} + - name: Build crate + run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo build + env: + RUST_BACKTRACE: 'full' # Release - name: Publish crate - run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo publish --allow-dirty - env: - RUST_BACKTRACE: 'full' \ No newline at end of file + run: cargo publish --allow-dirty