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