Skip to content

Commit

Permalink
Add cache input
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhnroyal committed Aug 20, 2024
1 parent 5912cab commit 12c13f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ inputs:
description: 'Setup Flutter (default: false)'
required: false
default: 'false'
cache:
description: 'Cache Flutter (default: true)'
required: false
default: 'true'
outputs:
FLUTTER_VERSION:
description: 'The version of Flutter specified in the fvm configuration file'
Expand All @@ -33,7 +37,7 @@ runs:
uses: subosito/flutter-action@v2
if: inputs.setup == 'true'
with:
cache: true
cache: ${{ inputs.cache }}
flutter-version: ${{ steps.config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.config-action.outputs.FLUTTER_CHANNEL }}
branding:
Expand Down

0 comments on commit 12c13f1

Please sign in to comment.