Skip to content

Commit 2131f2a

Browse files
committed
fix(action): cache-key not correctly set
1 parent 8feb4cc commit 2131f2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ inputs:
1919
cache-key:
2020
description: "An explicit key for restoring and saving the Flutter SDK to/from cache"
2121
required: false
22-
default: flutter-action-setup-flutter-${{ runner.os }}-${{ inputs.version }}-${{ inputs.channel }}-${{ runner.arch }}
22+
default: "flutter"
2323
runs:
2424
using: "composite"
2525
steps:
2626
- if: ${{ inputs.cache == 'true' }}
2727
uses: actions/cache@v3
2828
with:
2929
path: ${{ runner.tool_cache }}/flutter-${{ runner.os }}-${{ inputs.version }}-${{ runner.arch }}
30-
key: ${{ inputs.cache-key }}
30+
key: flutter-action-setup-flutter-${{ runner.os }}-${{ inputs.version }}-${{ inputs.channel }}-${{ runner.arch }}-${{ inputs.cache-key }}
3131
- run: $GITHUB_ACTION_PATH/setup.sh ${{ inputs.version }} ${{ inputs.channel }}
3232
shell: bash

0 commit comments

Comments
 (0)