From fc35805565ed066e1d18ca8c7712871e7a2ab2c5 Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Sat, 14 Dec 2024 15:02:57 -0800 Subject: [PATCH] Remove restore key for cache of action --- .github/workflows/deploying.yml | 4 +--- .github/workflows/testing.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploying.yml b/.github/workflows/deploying.yml index 526e3e2..ed86795 100644 --- a/.github/workflows/deploying.yml +++ b/.github/workflows/deploying.yml @@ -25,13 +25,11 @@ jobs: - name: Installing packages run: | gem install bundler - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: gopenpgp-cache with: path: go key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }} - restore-keys: | - ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}- - name: Bundle Install run: | bundle config path vendor/bundle diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ea2c149..1058b8f 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -18,13 +18,11 @@ jobs: - name: Installing packages run: | gem install bundler - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: gopenpgp-cache with: path: go key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }} - restore-keys: | - ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}- - name: Bundle Install run: | bundle config path vendor/bundle