diff --git a/.github/workflows/.firebase/build-and-deploy.yml b/.github/workflows/.firebase/build-and-deploy.yml index b503f444f..131bab256 100644 --- a/.github/workflows/.firebase/build-and-deploy.yml +++ b/.github/workflows/.firebase/build-and-deploy.yml @@ -42,7 +42,7 @@ jobs: node-version: '20.x' - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v6 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index ed81e0c4d..7292f7363 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -41,7 +41,7 @@ jobs: node-version: '20.x' - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -59,7 +59,7 @@ jobs: - name: Cache output continue-on-error: true - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: .deploy/publish key: ${{ hashFiles('.bundles.json') }}-${{ hashFiles('template/p*/**') }}-${{ hashFiles('content/**') }}-${{ steps.isg_state.outputs.rand }} @@ -179,7 +179,7 @@ jobs: - name: Cache output force update if: steps.new_isg_state.outputs.rand != steps.isg_state.outputs.rand continue-on-error: true - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: .deploy/publish key: ${{ hashFiles('.bundles.json') }}-${{ hashFiles('template/p*/**') }}-${{ hashFiles('content/**') }}-${{ steps.new_isg_state.outputs.rand }}