diff --git a/.github/workflows/build-apps.yml b/.github/workflows/build-apps.yml index bbf5749..d2402c4 100644 --- a/.github/workflows/build-apps.yml +++ b/.github/workflows/build-apps.yml @@ -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/flutter-action@v2.18.0 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: diff --git a/app/pubspec.lock b/app/pubspec.lock index dbc7e97..18b9843 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -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" diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 544d656..ed43f95 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -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