From eab67ed1882289f79733632107760ad97d2cf3e3 Mon Sep 17 00:00:00 2001 From: Michael Rapp Date: Thu, 7 Nov 2024 11:58:00 +0100 Subject: [PATCH] Save git repository to cache in Github workflow. --- .github/workflows/test_changelog.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test_changelog.yml b/.github/workflows/test_changelog.yml index b9948440f..2679713e2 100644 --- a/.github/workflows/test_changelog.yml +++ b/.github/workflows/test_changelog.yml @@ -52,3 +52,9 @@ jobs: - name: Validate main changelog if: steps.filter.outputs.main == 'true' run: ./build validate_changelog_main + - name: Save Git repository to cache + uses: actions/cache/save@v4 + if: success() || failure() + with: + path: .git/ + key: test-changelog-cache-git-${{ github.run_id }}