Skip to content

Commit

Permalink
Update build scripts to work with latest Flutter release
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyrat committed Aug 18, 2022
1 parent 1722a20 commit 7c125e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/flutter_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v2
Expand All @@ -29,12 +29,11 @@ jobs:
uses: kuhnroyal/flutter-fvm-config-action@v1

- name: Setup Flutter
uses: subosito/flutter-action@4f5d1c6d12e14c538d07e4016061fc111101e46f
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
cache-key: flutter # optional, change this to force refresh cache; channel and version are automatically appended

- name: Flutter version
run: flutter --version
Expand Down Expand Up @@ -78,18 +77,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Load Flutter config
uses: kuhnroyal/flutter-fvm-config-action@v1

- name: Setup Flutter
uses: subosito/flutter-action@4f5d1c6d12e14c538d07e4016061fc111101e46f
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
cache-key: flutter # optional, change this to force refresh cache; channel and version are automatically appended

- name: Flutter version
run: flutter --version
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/flutter_release_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v2
Expand All @@ -26,12 +26,11 @@ jobs:
uses: kuhnroyal/flutter-fvm-config-action@v1

- name: Setup Flutter
uses: subosito/flutter-action@4f5d1c6d12e14c538d07e4016061fc111101e46f
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
cache-key: flutter # optional, change this to force refresh cache; channel and version are automatically appended

- name: Flutter version
run: flutter --version
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/flutter_release_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Load Flutter config
uses: kuhnroyal/flutter-fvm-config-action@v1

- name: Setup Flutter
uses: subosito/flutter-action@4f5d1c6d12e14c538d07e4016061fc111101e46f
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
cache-key: flutter # optional, change this to force refresh cache; channel and version are automatically appended

- name: Flutter version
run: flutter --version
Expand Down

0 comments on commit 7c125e6

Please sign in to comment.