Skip to content

Commit

Permalink
chore(deps): update subosito/flutter-action digest to f2c4f66 (#428)
Browse files Browse the repository at this point in the history
* chore(deps): update subosito/flutter-action digest to f2c4f66

* ci: 统一将 flutter 版本号存放至 pubspec 中

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: uy_sun <hmy0119@gmail.com>
  • Loading branch information
renovate[bot] and he0119 authored Dec 4, 2024
1 parent 5204dc2 commit b9e9a7f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
flutter_version: "3.24.2"
flutter_channel: "stable"

jobs:
test:
name: Test
Expand Down Expand Up @@ -49,10 +45,10 @@ jobs:
run: curl -sSL https://raw.github.com/eriwen/lcov-to-cobertura-xml/master/lcov_cobertura/lcov_cobertura.py -o lcov_cobertura.py

- name: Setup Flutter
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff
with:
flutter-version: ${{ env.flutter_version }}
channel: ${{ env.flutter_channel }}
channel: stable
flutter-version-file: pubspec.yaml
cache: true

- name: Flutter test
Expand Down Expand Up @@ -93,10 +89,10 @@ jobs:
check-latest: true

- name: Setup Flutter
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff
with:
flutter-version: ${{ env.flutter_version }}
channel: ${{ env.flutter_channel }}
channel: stable
flutter-version-file: pubspec.yaml
cache: true

- name: Build split-per-abi apks
Expand Down Expand Up @@ -130,10 +126,10 @@ jobs:
VERSION: ${{ needs.test.outputs.version }}

- name: Setup Flutter
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff
with:
flutter-version: ${{ env.flutter_version }}
channel: ${{ env.flutter_channel }}
channel: stable
flutter-version-file: pubspec.yaml
cache: true

- name: Build web version
Expand Down Expand Up @@ -175,10 +171,10 @@ jobs:
VERSION: ${{ needs.test.outputs.version }}

- name: Setup Flutter
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff
with:
flutter-version: ${{ env.flutter_version }}
channel: ${{ env.flutter_channel }}
channel: stable
flutter-version-file: pubspec.yaml
cache: true

- name: Build windows version
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1650,4 +1650,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.5.0 <4.0.0"
flutter: ">=3.24.0"
flutter: ">=3.24.2"
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ publish_to: "none"

environment:
sdk: ">=3.4.0 <4.0.0"
flutter: "3.24.2" # This must be exact! No ranges allowed.

dependencies:
flutter:
Expand Down

0 comments on commit b9e9a7f

Please sign in to comment.