Skip to content

Commit

Permalink
Update CI: fix 6
Browse files Browse the repository at this point in the history
  • Loading branch information
meanmail committed Sep 20, 2023
1 parent 0c90c26 commit d5a8465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ runs:
registry: hyperskill.azurecr.io
username: ${{ inputs.username }}
password: ${{ inputs.password }}
- if: inputs.add_hash
- if: inputs.add_hash == 'true'
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 != 'true'
run: |
echo "hash=" >> "$GITHUB_ENV"
shell: bash
Expand Down

0 comments on commit d5a8465

Please sign in to comment.