diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 508c08d55..f7c9ac66d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,17 +19,17 @@ jobs: chmod +x "$SDK_BIN" echo yes | ./"$SDK_BIN" - name: Cache cargo registry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - name: Cache xargo sysroot - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.xargo key: ${{ runner.os }}-xargo-sysroot - name: Cache build artifacts - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/sccache key: ${{ runner.os }}-sccache @@ -193,17 +193,17 @@ jobs: chmod +x "$SDK_BIN" echo yes | ./"$SDK_BIN" - name: Cache cargo registry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - name: Cache xargo sysroot - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.xargo key: ${{ runner.os }}-xargo-sysroot - name: Cache build artifacts - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/sccache key: ${{ runner.os }}-sccache diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 140e3693d..c035330d9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,7 +31,7 @@ jobs: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - name: Cache build artifacts - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/sccache key: ${{ runner.os }}-sccache