From 5623548227d5255363b6eaeaf46ae479e06efe89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 22 Dec 2023 11:18:06 +0100 Subject: [PATCH] ci: add git-utimes from git-extras --- .github/workflows/render-website.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/render-website.yaml b/.github/workflows/render-website.yaml index 4599895..361f707 100644 --- a/.github/workflows/render-website.yaml +++ b/.github/workflows/render-website.yaml @@ -27,6 +27,17 @@ jobs: git config --global user.name "$GITHUB_ACTOR" git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Install git-extras + run: | + git clone https://github.com/tj/git-extras.git + cd git-extras + git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) + sudo make install + + - name: Avoid noise in file metadata + run: | + git-utimes --newer + - uses: actions/checkout@v3 - uses: quarto-dev/quarto-actions/setup@v2