From a003dac568f52117d0bc092e9c4db56491e3c206 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Mon, 30 Oct 2023 13:32:54 -0700 Subject: [PATCH] Fix publisher Signed-off-by: Maksym Pavlenko --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 185b8f0b..95afa588 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -58,7 +58,7 @@ jobs: - name: Publish on crates.io run: cargo publish $DRYRUN --manifest-path $CARGO_FILE env: - DRYRUN: ${{ inputs.dryrun && '--dry-run' }} + DRYRUN: ${{ inputs.dryrun && '--dry-run' || '' }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - name: Push version tag