From 0c90c26ca67a410c9828526a719e55f6642a7dde Mon Sep 17 00:00:00 2001 From: meanmail Date: Wed, 20 Sep 2023 13:28:58 +0400 Subject: [PATCH] Update CI: fix 5 --- .github/workflows/actions/build/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/build/action.yml b/.github/workflows/actions/build/action.yml index 7a57382..58915eb 100644 --- a/.github/workflows/actions/build/action.yml +++ b/.github/workflows/actions/build/action.yml @@ -35,12 +35,12 @@ runs: registry: hyperskill.azurecr.io username: ${{ inputs.username }} password: ${{ inputs.password }} - - if: ${{ inputs.add_hash }} + - if: inputs.add_hash run: | hash=$(find ${{ inputs.path }} -type f -print0 | sort -z | xargs -0 sha1sum | sha1sum) echo "hash=-${hash::9}" >> "$GITHUB_ENV" shell: bash - - if: ${{ !inputs.add_hash }} + - if: !inputs.add_hash run: | echo "hash=" >> "$GITHUB_ENV" shell: bash