Skip to content

Commit 34658cd

Browse files
committed
Use dynamic cache key for pub dependencies
1 parent 1e191bb commit 34658cd

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
@@ -21,9 +21,9 @@ inputs:
2121
required: false
2222
default: "false"
2323
cache-key:
24-
description: "An explicit key for restoring and saving the Flutter SDK to/from cache"
24+
description: "An explicit key for restoring and saving the pub dependencies to/from cache"
2525
required: false
26-
default: "flutter"
26+
default: "${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}"
2727
runs:
2828
using: "composite"
2929
steps:

0 commit comments

Comments
 (0)