Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/flutter-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ jobs:
version:
- latest
- 3.27.0
cache-sdk:
- true
- false
with:
runs-on: ubuntu-latest
channel: stable
version: ${{ matrix.version }}
cache-sdk: ${{ matrix.cache-sdk }}

beta:
uses: ./.github/workflows/flutter.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/flutter-macos-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ jobs:
version:
- latest
- 3.27.0
cache-sdk:
- true
- false
with:
runs-on: macos-13 # Intel Mac
channel: stable
version: ${{ matrix.version }}
cache-sdk: ${{ matrix.cache-sdk }}

beta:
uses: ./.github/workflows/flutter.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/flutter-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ jobs:
version:
- latest
- 3.27.0
cache-sdk:
- true
- false
with:
runs-on: macos-latest # Apple Silicon Mac
channel: stable
version: ${{ matrix.version }}
cache-sdk: ${{ matrix.cache-sdk }}

beta:
uses: ./.github/workflows/flutter.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/flutter-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ jobs:
version:
- latest
- 3.27.0
cache-sdk:
- true
- false
with:
runs-on: windows-latest
channel: stable
version: ${{ matrix.version }}
cache-sdk: ${{ matrix.cache-sdk }}

beta:
uses: ./.github/workflows/flutter.yml
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
required: true
default: 'latest'
type: string
cache-sdk:
description: 'Cache the installed Flutter SDK. Default: false'
required: false
default: false
type: boolean

jobs:
flutter:
Expand All @@ -29,6 +34,7 @@ jobs:
with:
channel: ${{ inputs.channel }}
version: ${{ inputs.version }}
cache-sdk: ${{ inputs.cache-sdk }}

- name: Dart version
run: dart --version
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ runs:
# Cache the Flutter SDK
- if: ${{ inputs.cache-sdk == 'true' }}
name: Configure Flutter SDK cache
uses: actions/cache@v5
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual tag is v6.1.0. Using that exact format should let Renovate/Dependabot create updates for it and also update the comment.

with:
path: ${{ runner.tool_cache }}/flutter
key: flutter-action-setup-flutter-sdk-${{ runner.os }}-${{ inputs.version }}-${{ runner.arch }}-${{ inputs.channel }}
# Cache the pub dependencies
- if: ${{ inputs.cache == 'true' }}
name: Configure pub dependencies cache
uses: actions/cache@v5
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0
with:
path: ${{ runner.temp }}/flutter/pub-cache
key: flutter-action-setup-flutter-${{ inputs.cache-key }}-pub-cache-${{ runner.os }}-${{ inputs.version }}-${{ runner.arch }}-${{ inputs.channel }}
Expand Down
Loading