Skip to content

Commit

Permalink
ci: specify flutter version to use
Browse files Browse the repository at this point in the history
G-Ray committed Jan 18, 2025
1 parent f5a53a9 commit 6fe64d1
Showing 3 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-apps.yml
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: app/pubspec.yaml
- name: Install dependencies
run: |
sudo apt-get update -y
@@ -35,7 +36,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: master
flutter-version: 3.27.2
flutter-version-file: app/pubspec.yaml
- name: Install dependencies
run: |
sudo apt-get update -y
@@ -65,9 +66,11 @@ jobs:
with:
vcpkgDirectory: ${{ github.workspace }}/app/vcpkg
- name: Set up Flutter
uses: subosito/flutter-action@v2
# yq is not installed on windows on v2
uses: subosito/[email protected]
with:
channel: stable
flutter-version-file: app/pubspec.yaml
- run: flutter build windows
- uses: actions/upload-artifact@v4
with:
@@ -95,6 +98,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: app/pubspec.yaml
- run: flutter build macos
- uses: actions/upload-artifact@v4
with:
@@ -132,6 +136,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: app/pubspec.yaml
- name: Install dependencies
run: |
sudo apt-get update -y
@@ -167,6 +172,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: app/pubspec.yaml
- run: flutter build ios --no-codesign
- uses: actions/upload-artifact@v4
with:
2 changes: 1 addition & 1 deletion app/pubspec.lock
Original file line number Diff line number Diff line change
@@ -1137,4 +1137,4 @@ packages:
version: "0.0.3+1"
sdks:
dart: ">=3.6.0 <4.0.0"
flutter: ">=3.27.0"
flutter: ">=3.27.2"
1 change: 1 addition & 0 deletions app/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ version: 0.10.0+1

environment:
sdk: ^3.5.3
flutter: 3.27.2

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions

0 comments on commit 6fe64d1

Please sign in to comment.