Skip to content

Commit

Permalink
Update CI: fix 5
Browse files Browse the repository at this point in the history
  • Loading branch information
meanmail committed Sep 20, 2023
1 parent ba314c0 commit 0c90c26
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
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
Expand Down

0 comments on commit 0c90c26

Please sign in to comment.