Skip to content

Commit

Permalink
change input name for caching flutter SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jan 24, 2025
1 parent 10234bf commit f7393ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/setup-rinf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ By default, caching is disabled.
cache-cargo-key: ${{ hashFiles('Cargo.lock') }}-android-cargo
cache-pub: true
cache-pub-key: ${{ hashFiles('pubspec.lock') }}-android-dart
cache-flutter: true # no key is needed
cache-flutter-sdk: true # no cache key is needed
# cache key for Flutter SDK is handled by `flutter-actions/setup-flutter` internally
```

Expand Down
4 changes: 2 additions & 2 deletions .github/setup-rinf/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ inputs:
description: Enable or disable caching of the project's pub.dev dependencies
required: false
default: 'false'
cache-sdk:
cache-flutter-sdk:
description: Enable or disable caching of the installed Flutter SDK
required: false
default: 'false'
Expand Down Expand Up @@ -93,7 +93,7 @@ runs:
channel: ${{ inputs.flutter-channel }}
version: ${{ inputs.flutter-version }}
cache: ${{ inputs.cache-pub == 'true' }}
cache-sdk: ${{ inputs.cache-flutter == 'true' }}
cache-sdk: ${{ inputs.cache-flutter-sdk == 'true' }}
cache-key: ${{ inputs.cache-pub-key }}
- name: Cache .cargo locked resources
if: inputs.cache-cargo == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cache-cargo-key: ${{ hashFiles('Cargo.lock') }}-${{ matrix.platform }}-cargo
cache-pub: true
cache-pub-key: ${{ hashFiles('pubspec.lock') }}-${{ matrix.platform }}-dart
cache-flutter: true
cache-flutter-sdk: true

# lint and build
- name: Generate messages API
Expand Down

0 comments on commit f7393ca

Please sign in to comment.