Skip to content

Commit

Permalink
Merge pull request #6901 from pascalgrimaud/ci-display-md5-of-generat…
Browse files Browse the repository at this point in the history
…ed-projects

CI: display md5 of generated projects
  • Loading branch information
pascalgrimaud authored Jul 15, 2023
2 parents 755223f + 14e927c commit 2f38418
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,17 @@ jobs:
./start.sh 7471
./generate.sh ${{ matrix.app }}
./stop.sh
- name: 'Generation: display md5sum ${{ matrix.app }}'
working-directory: /tmp/jhlite/${{ matrix.app }}/
run: |
app_md5=$(find . \
-not -path './.git/*' \
-not -path './.jhipster/*' \
-not -path './node_modules/*' \
-not -path './target/*' \
-not -path './build/*' \
-type f -exec md5sum {} + | LC_ALL=C sort | md5sum | head -n1 | cut -d " " -f1)
echo $app_md5
- name: 'Test: list ${{ matrix.app }}'
id: cache_md5sum
run: |
Expand Down

0 comments on commit 2f38418

Please sign in to comment.