Skip to content

Commit

Permalink
Update check-and-ebook.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed Apr 4, 2024
1 parent e5d4371 commit cbc09d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-and-ebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ jobs:
persist-credentials: false
fetch-depth: 1 # 0 if you want to push to repo

- name: calculate hash chapters/*.tex
- name: calculate hash on chapters/*.tex
id: calculate-hash
run: |
current_date=$(date -u '+%Y-%m-%d')
hash=hashFiles('chapters/*.tex')
echo "{hash}={${current_date}_${hash}}" >> $GITHUB_OUTPUT
hashed=$(hashFiles(chapters/*.tex))
echo "hash=${current_date}_${hashed}" >> $GITHUB_OUTPUT
- name: Cache lookup
id: cache
Expand Down

0 comments on commit cbc09d4

Please sign in to comment.