From 0b0f3dc6a262f3151c1e2dd8ad1296507f4c7494 Mon Sep 17 00:00:00 2001 From: dormant-user Date: Wed, 26 Jun 2024 09:36:49 -0500 Subject: [PATCH] Add missing quotes for all inputs and env vars --- action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 0ea537e..7b982a2 100644 --- a/action.yml +++ b/action.yml @@ -155,7 +155,7 @@ runs: shell: bash - name: Set up Python - if: env.setup_python == true + if: env.setup_python == 'true' uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} @@ -171,12 +171,12 @@ runs: shell: bash - name: Run twine check - if: inputs.verify-metadata != false || inputs.dry-run != false + if: inputs.verify-metadata != 'false' || inputs.dry-run != 'false' run: twine check ${{ inputs.packages-dir }}/* shell: bash - name: Get distribution hash - if: inputs.print-hash != false || inputs.verbose != false + if: inputs.print-hash != 'false' || inputs.verbose != 'false' run: | import hashlib import pathlib @@ -210,7 +210,7 @@ runs: shell: python - name: Print hash - if: inputs.print-hash != false || inputs.verbose != false + if: inputs.print-hash != 'false' || inputs.verbose != 'false' run: | if [ ! -f "hash_summary" ]; then echo "::warning title=Hash Summary::Summary file is missing" @@ -220,7 +220,7 @@ runs: shell: bash - name: Upload to pypi - if: inputs.dry-run != false + if: inputs.dry-run != 'true' env: TWINE_USERNAME: ${{ env.user }} TWINE_PASSWORD: ${{ env.token }}