From 7409a45424e1796e5a2245f4c672a3c121fb6553 Mon Sep 17 00:00:00 2001 From: Alexander Koz Date: Wed, 13 Sep 2023 01:59:27 +0400 Subject: [PATCH] CI: fix publish-crates conditions --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f83b7059..67be2740 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,7 +51,7 @@ jobs: - name: Publish uses: katyo/publish-crates@v2 with: - dry-run: ${{ github.event.inputs.dry-run }} - check-repo: ${{ github.event.inputs.check-repo }} + dry-run: ${{ github.event.inputs.dry-run == 'true' }} + check-repo: ${{ github.event.inputs.check-repo == 'true' }} ignore-unpublished-changes: true registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}