Skip to content

Commit

Permalink
Update CI: fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
meanmail committed Sep 20, 2023
1 parent 71b3bb5 commit eeac61b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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=${{ hashFiles(inputs.path + "/**/*.*") }}
hash=$(find ${{ inputs.path }} -type f -print0 | sort -z | xargs -0 sha2sum | sha2sum)
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 eeac61b

Please sign in to comment.