Skip to content

Commit

Permalink
Fix CI by using fixed flutter version 3.10.6 (#518)
Browse files Browse the repository at this point in the history
Building the pull requests by the CI stopped working some time ago.
Presumably, the specified flutter channel "stable" got updated and is
now incompatible which lets every build fail. Pinning the flutter
version to 3.10.6 for the CI fixes that. Note that the version was
chosen by best guess that worked at least somewhat locally. (I have yet
to get a build finished locally.) It might not be the version that was
used "originally".
  • Loading branch information
Nithanim authored Nov 27, 2023
1 parent 3055896 commit d7fdeb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: subosito/flutter-action@v1
with:
channel: "stable"
flutter-version: '3.10.6'

- name: Get dependencies
run: flutter pub get
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:

- uses: subosito/flutter-action@v1
with:
channel: "stable"
flutter-version: '3.10.6'

- name: Generate debug keystore (Pull Request)
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

- uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: '3.10.6'

- run: flutter build ios --no-codesign --release --target lib/main_prod.dart --flavor prod

Expand All @@ -106,7 +106,7 @@ jobs:

- uses: subosito/flutter-action@v1
with:
channel: "stable"
flutter-version: '3.10.6'

- name: Get additional dependencies
run: |
Expand All @@ -126,7 +126,7 @@ jobs:

- uses: subosito/flutter-action@v1
with:
channel: "stable"
flutter-version: '3.10.6'

- name: Build
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- uses: subosito/flutter-action@v1
with:
channel: "stable"
flutter-version: '3.10.6'

- name: Get dependencies
run: flutter pub get
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:

- uses: subosito/flutter-action@v1
with:
channel: "stable"
flutter-version: '3.10.6'

- name: Get additional dependencies
run: |
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

- uses: subosito/flutter-action@v1
with:
channel: "stable"
flutter-version: '3.10.6'

- name: Build
run: |
Expand Down

0 comments on commit d7fdeb0

Please sign in to comment.