From c8a1eed475fefd705f068fff12bb00e37e8e2940 Mon Sep 17 00:00:00 2001 From: Maksymilian Mozolewski Date: Mon, 2 Dec 2024 20:46:00 +0000 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3e32231..d7e1cab 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,11 +39,11 @@ jobs: ${{ runner.os }}-cargo-index- - name: Run cargo publish - if : ${{ inputs.dry-run == 'false' }} + if : ${{ !fromJSON(inputs.dry-run) }} env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} run: cargo publish - + - name: Run cargo publish --dry-run - if : ${{ inputs.dry-run == 'true' }} + if : ${{ fromJSON(inputs.dry-run) }} run: cargo publish --dry-run