From c4518993d95a325ece7e083492222dd94c9d7ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=B2=AB=E8=8A=B1=E7=81=ABzzz?= Date: Fri, 24 May 2024 07:03:12 +0800 Subject: [PATCH] Update actions/cache@v3 to actions/cache@v4 --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 87ff773..b9b80d3 100644 --- a/action.yml +++ b/action.yml @@ -30,14 +30,14 @@ runs: # Cache the Flutter SDK - if: ${{ inputs.cache-sdk == 'true' }} name: Configure Flutter SDK cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ runner.tool_cache }}/flutter-${{ runner.os }}-${{ inputs.version }}-${{ runner.arch }} key: flutter-action-setup-flutter-${{ runner.os }}-${{ inputs.version }}-${{ inputs.channel }}-${{ runner.arch }} # Cache the pub dependencies - if: ${{ inputs.cache == 'true' }} name: Configure pub dependencies cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/pub-cache key: flutter-action-setup-flutter-${{ runner.os }}-${{ inputs.version }}-${{ inputs.channel }}-${{ runner.arch }}-${{ inputs.cache-key }}-pub-cache