diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 83925c80c5..6a05626f9f 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -23,18 +23,6 @@ jobs: uses: actions/checkout@v3 with: submodules: "recursive" - fetch-depth: 0 # Full history needed for restoring file timestamps - - - name: Restore Timestamps - uses: ./.github/actions/restore-git-mtimes - continue-on-error: true - - - name: Restore Build Cache - uses: actions/cache/restore@v3 - continue-on-error: true - with: - path: build - key: ${{ runner.os }}-build-cache - name: Prepare run: ci/prepare/macos/prepare.sh @@ -43,15 +31,6 @@ jobs: id: build run: ci/build-tests.sh - - name: Save Build Cache - # Only save build cache from develop to avoid polluting it by other branches / PRs - if: github.ref == 'refs/heads/develop' && success() - uses: actions/cache/save@v3 - continue-on-error: true - with: - path: build - key: ${{ runner.os }}-build-cache - - name: Core Tests if: steps.build.outcome == 'success' && (success() || failure()) run: ../ci/tests/run-core-tests.sh @@ -90,18 +69,6 @@ jobs: uses: actions/checkout@v3 with: submodules: "recursive" - fetch-depth: 0 # Full history needed for restoring file timestamps - - - name: Restore Timestamps - uses: ./.github/actions/restore-git-mtimes - continue-on-error: true - - - name: Restore Build Cache - uses: actions/cache/restore@v3 - continue-on-error: true - with: - path: build - key: ${{ runner.os }}-${{ env.COMPILER }}-build-cache - name: Prepare run: sudo -E ci/prepare/linux/prepare.sh @@ -110,15 +77,6 @@ jobs: id: build run: ci/build-tests.sh - - name: Save Build Cache - # Only save build cache from develop to avoid polluting it by other branches / PRs - if: github.ref == 'refs/heads/develop' && success() - uses: actions/cache/save@v3 - continue-on-error: true - with: - path: build - key: ${{ runner.os }}-${{ env.COMPILER }}-build-cache - - name: Core Tests if: steps.build.outcome == 'success' && (success() || failure()) run: ../ci/tests/run-core-tests.sh @@ -160,18 +118,6 @@ jobs: uses: actions/checkout@v3 with: submodules: "recursive" - fetch-depth: 0 # full history needed for restoring file timestamps - - - name: Restore Timestamps - uses: ./.github/actions/restore-git-mtimes - continue-on-error: true - - - name: Restore Build Cache - uses: actions/cache/restore@v3 - continue-on-error: true - with: - path: build - key: ${{ runner.os }}-build-cache - name: Prepare run: ci/prepare/windows/prepare.ps1 @@ -181,15 +127,6 @@ jobs: run: ci/build-tests.sh shell: bash - - name: Save Build Cache - # only save build cache from develop to avoid polluting it by other branches / PRs - if: github.ref == 'refs/heads/develop' && success() - uses: actions/cache/save@v3 - continue-on-error: true - with: - path: build - key: ${{ runner.os }}-build-cache - - name: Core Tests if: steps.build.outcome == 'success' && (success() || failure()) run: ../ci/tests/run-core-tests.sh