From c72e8a087bd1d50826759be45ae55b9a8d3e4712 Mon Sep 17 00:00:00 2001 From: "Billy.Zheng" Date: Tue, 10 Dec 2024 16:42:29 +0800 Subject: [PATCH] update cache action to v4 --- .github/workflows/alpine_x86_64_release.yml | 2 +- .github/workflows/arm_release.yml.bak | 2 +- .github/workflows/gnu_x86_64_release.yml | 2 +- .github/workflows/macos_release.yml | 2 +- .github/workflows/windows-msvc.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/alpine_x86_64_release.yml b/.github/workflows/alpine_x86_64_release.yml index 3bb2746..92d0428 100644 --- a/.github/workflows/alpine_x86_64_release.yml +++ b/.github/workflows/alpine_x86_64_release.yml @@ -10,7 +10,7 @@ jobs: image: crystallang/crystal:latest-alpine steps: - name: Cache shards - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/shards key: ${{ runner.os }}-shards-${{ hashFiles('shard.yml') }} diff --git a/.github/workflows/arm_release.yml.bak b/.github/workflows/arm_release.yml.bak index 967cb05..8f766ab 100644 --- a/.github/workflows/arm_release.yml.bak +++ b/.github/workflows/arm_release.yml.bak @@ -7,7 +7,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/cache@v4 - uses: pguyot/arm-runner-action@v2 id: build_image with: diff --git a/.github/workflows/gnu_x86_64_release.yml b/.github/workflows/gnu_x86_64_release.yml index cf58e9b..43ee4ee 100644 --- a/.github/workflows/gnu_x86_64_release.yml +++ b/.github/workflows/gnu_x86_64_release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache shards - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/shards key: ${{ runner.os }}-shards-${{ hashFiles('shard.yml') }} diff --git a/.github/workflows/macos_release.yml b/.github/workflows/macos_release.yml index fbc315e..18609e4 100644 --- a/.github/workflows/macos_release.yml +++ b/.github/workflows/macos_release.yml @@ -8,7 +8,7 @@ jobs: runs-on: macos-latest steps: - name: Cache shards - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/shards key: ${{ runner.os }}-shards-${{ hashFiles('shard.yml') }} diff --git a/.github/workflows/windows-msvc.yml b/.github/workflows/windows-msvc.yml index a64eb3e..503d78b 100644 --- a/.github/workflows/windows-msvc.yml +++ b/.github/workflows/windows-msvc.yml @@ -8,7 +8,7 @@ jobs: runs-on: windows-2022 steps: - name: Cache shards - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/shards key: ${{ runner.os }}-shards-${{ hashFiles('shard.yml') }}