Skip to content

Commit

Permalink
FIX: file timestamps using chetan/git-restore-mtime-action@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
squarezhong committed Nov 28, 2024
1 parent 466f1ab commit 14c1412
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ jobs:
uses: actions/checkout@v4

- name: Fix file timestamps
run: |
git ls-files | while read file; do
touch -d $(git log -1 --format="@%ct" "$file") "$file"
done
uses: chetan/git-restore-mtime-action@v2

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down

0 comments on commit 14c1412

Please sign in to comment.