From cc85ba052a4d62bc0fc56fd0e2c604d2dd2d6a3a Mon Sep 17 00:00:00 2001 From: CatcherITGF Date: Tue, 19 Dec 2023 17:53:58 +0300 Subject: [PATCH] Fix timestamp --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0ad7e060..9c078bb3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,11 +14,11 @@ jobs: with: fetch-depth: 0 # It's needed for git-restore-mtime - name: Reset directories timestamp # Workaround for https://github.com/MestreLion/git-tools/issues/47 - run: find . -not -path '*/.*' -type d -exec touch -t 197001010000 {} \; + run: find . -mindepth 1 -type d -not -iwholename '*.git*' -exec touch -t 197001010000 {} \; - name: Restore files timestamp uses: chetan/git-restore-mtime-action@v2 # Restore files original modification time to have deterministic zip bundles - - name: Setup upterm session - uses: lhotari/action-upterm@v1 + # - name: Setup upterm session + # uses: lhotari/action-upterm@v1 - name: "Compile OCBundle" working-directory: ./Sources/OCBundle run: zip -qqrX ../../OCBundle.zip ./