diff --git a/.github/workflows/bsd.yaml b/.github/workflows/bsd.yaml index 797b8f2b416..4db8dda90f3 100644 --- a/.github/workflows/bsd.yaml +++ b/.github/workflows/bsd.yaml @@ -14,8 +14,9 @@ jobs: with: submodules: recursive - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: freebsd-13.2-gmake-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -75,8 +76,9 @@ jobs: with: submodules: recursive - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: openbsd-7.4-gmake-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -136,8 +138,9 @@ jobs: with: submodules: recursive - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: netbsd-9.3-gmake-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | diff --git a/.github/workflows/build-and-test-Linux.yaml b/.github/workflows/build-and-test-Linux.yaml index 2ab7e0a4dfd..30779b0e835 100644 --- a/.github/workflows/build-and-test-Linux.yaml +++ b/.github/workflows/build-and-test-Linux.yaml @@ -25,8 +25,9 @@ jobs: sudo apt-get install --no-install-recommends -y gawk jq - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-KERNEL restore-keys: | diff --git a/.github/workflows/build-and-test-Xen.yaml b/.github/workflows/build-and-test-Xen.yaml index 66779668fcc..8102fc66ca4 100644 --- a/.github/workflows/build-and-test-Xen.yaml +++ b/.github/workflows/build-and-test-Xen.yaml @@ -24,8 +24,9 @@ jobs: sudo apt-get install --no-install-recommends -y libgtk2.0-dev libyajl-dev time ccache clang-10 clang++-10 - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-XEN restore-keys: | diff --git a/.github/workflows/csmith.yaml b/.github/workflows/csmith.yaml index a5e144ac055..40e8b9f7b91 100644 --- a/.github/workflows/csmith.yaml +++ b/.github/workflows/csmith.yaml @@ -23,8 +23,9 @@ jobs: sudo apt-get install --no-install-recommends -y csmith libcsmith-dev make -C src minisat2-download - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-CSMITH restore-keys: | diff --git a/.github/workflows/pull-request-check-rust-api.yaml b/.github/workflows/pull-request-check-rust-api.yaml index 8a48bcfa98f..bb486a13933 100644 --- a/.github/workflows/pull-request-check-rust-api.yaml +++ b/.github/workflows/pull-request-check-rust-api.yaml @@ -33,8 +33,9 @@ jobs: - name: Log cargo/rust version run: cargo --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-22.04-cmake-clang-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -79,8 +80,9 @@ jobs: - name: Log cargo/rust version run: cargo --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-Release-Minisat-${{ github.ref }}-${{ github.sha }}-PR-Rust-API restore-keys: | diff --git a/.github/workflows/pull-request-checks.yaml b/.github/workflows/pull-request-checks.yaml index f9eacdf8071..a09bf84b422 100644 --- a/.github/workflows/pull-request-checks.yaml +++ b/.github/workflows/pull-request-checks.yaml @@ -32,8 +32,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-make-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -117,8 +118,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -181,8 +183,9 @@ jobs: - name: Confirm z3 solver is available and log the version installed run: z3 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -225,8 +228,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-Release-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -296,8 +300,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-22.04-make-clang-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -361,8 +366,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-22.04-Release-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -420,8 +426,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-22.04-Release-gcc-13-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -466,8 +473,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-22.04-Release-32-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -504,8 +512,9 @@ jobs: sudo apt-get update sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils ccache z3 - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-Release-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -550,8 +559,9 @@ jobs: sudo apt-get update sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils ccache z3 - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-Release-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -590,8 +600,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-make-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -641,8 +652,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-Release-Glucose-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -698,8 +710,9 @@ jobs: - name: Confirm cvc5 solver is available and log the version installed run: cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-msbuild-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -756,8 +769,9 @@ jobs: - name: Initialise Developer Command Line uses: ilammy/msvc-dev-cmd@v1 - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-msbuild-make-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | @@ -811,8 +825,9 @@ jobs: nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0 echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-msbuild-${{ github.ref }}-${{ github.sha }}-PKG restore-keys: | @@ -928,8 +943,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-Coverage-${{ github.ref }}-${{ github.sha }}-PR restore-keys: | diff --git a/.github/workflows/release-packages.yaml b/.github/workflows/release-packages.yaml index a8e08f94804..dcf307df97f 100644 --- a/.github/workflows/release-packages.yaml +++ b/.github/workflows/release-packages.yaml @@ -27,8 +27,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-22.04-Release-${{ github.ref }}-${{ github.sha }}-RELEASEPKG restore-keys: @@ -97,8 +98,9 @@ jobs: mv cvc5 /usr/local/bin cvc5 --version - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-20.04-Release-${{ github.ref }}-${{ github.sha }}-RELEASEPKG restore-keys: | @@ -199,8 +201,9 @@ jobs: echo "$(Split-Path -Path $(Get-ChildItem -Path "${env:ProgramFiles(x86)}\Windows Kits\10\App Certification Kit\signtool.exe"))" >> $env:GITHUB_PATH echo "pfxcert=$([string](Get-Location)+'\CodeSignCertificate.pfx')" >> $env:GITHUB_ENV - name: Prepare ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: + save-always: true path: .ccache key: ${{ runner.os }}-msbuild-${{ github.ref }}-${{ github.sha }}-RELEASEPKG restore-keys: |