Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: specify Flutter version in CI #215

Merged
merged 1 commit into from
Jun 10, 2024
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
7 changes: 5 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,18 @@ jobs:
run: echo "prerelease=true" >> $GITHUB_ENV

- name: Setup Flutter
uses: subosito/[email protected]
uses: subosito/[email protected]
# Specify the Flutter version to work around bug in new version:
# https://github.com/flutter/flutter/issues/144873
with:
flutter-version: '3.19.6'

- name: Checkout code
uses: actions/checkout@v3

- name: Prepare for build
run: |
flutter config --enable-linux-desktop
flutter upgrade
flutter pub get

# ----------------------------------- Build ---------------------------- #
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,18 @@ jobs:
run: echo "prerelease=true" >> $GITHUB_ENV

- name: Setup Flutter
uses: subosito/[email protected]
uses: subosito/[email protected]
# Specify the Flutter version to work around bug in new version:
# https://github.com/flutter/flutter/issues/144873
with:
flutter-version: '3.19.6'

- name: Checkout code
uses: actions/checkout@v3

- name: Prepare for build
run: |
flutter config --enable-windows-desktop
flutter upgrade
flutter pub get

# ----------------------------------- Build ---------------------------- #
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
# Specify the Flutter version to work around bug in new version:
# https://github.com/flutter/flutter/issues/144873
with:
flutter-version: '3.19.6'

- name: Get Linux dependencies
if: runner.os == 'Linux'
Expand All @@ -26,7 +30,6 @@ jobs:

- name: Setup
run: |
flutter upgrade
flutter pub get

- name: Verify formatting
Expand Down
Loading