From 68c77a3fe1cf90ec4cd78d4c74e5a986e7f47159 Mon Sep 17 00:00:00 2001 From: Donatas Puidokas <104410044+donpui@users.noreply.github.com> Date: Wed, 25 Jan 2023 10:55:43 +0200 Subject: [PATCH] Add flutter changes for all jobs --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4de5befd..e95151ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,8 +84,15 @@ jobs: run: echo DESTINY_VERSION=${{ github.head_ref }} >> $GITHUB_ENV if: ${{ github.ref_type != 'tag' }} + # https://docs.flutter.dev/development/tools/sdk/releases?tab=linux - name: "Setup flutter" - uses: "subosito/flutter-action@v2.4.0" + uses: subosito/flutter-action@v2 + with: + # set fixed stable version, to avoid surprises, when flutter upgrades + flutter-version: '3.3.10' + channel: 'stable' + + - run: flutter --version - name: "Fetch flutter dependencies" run: "flutter pub get" @@ -162,8 +169,15 @@ jobs: run: echo DESTINY_VERSION=${{ github.head_ref }} >> $GITHUB_ENV if: ${{ github.ref_type != 'tag' }} + # https://docs.flutter.dev/development/tools/sdk/releases?tab=linux - name: "Setup flutter" - uses: "subosito/flutter-action@v2.4.0" + uses: subosito/flutter-action@v2 + with: + # set fixed stable version, to avoid surprises, when flutter upgrades + flutter-version: '3.3.10' + channel: 'stable' + + - run: flutter --version - name: "Fetch flutter dependencies" run: "flutter pub get" @@ -220,8 +234,15 @@ jobs: run: echo DESTINY_VERSION=${{ github.head_ref }} >> $GITHUB_ENV if: ${{ github.ref_type != 'tag' }} + # https://docs.flutter.dev/development/tools/sdk/releases?tab=linux - name: "Setup flutter" - uses: "subosito/flutter-action@v2.4.0" + uses: subosito/flutter-action@v2 + with: + # set fixed stable version, to avoid surprises, when flutter upgrades + flutter-version: '3.3.10' + channel: 'stable' + + - run: flutter --version - name: "Fetch flutter dependencies" run: "flutter pub get" @@ -256,8 +277,15 @@ jobs: run: 'echo "DESTINY_VERSION=${{ github.head_ref }}" >> $env:GITHUB_ENV' if: ${{ github.ref_type != 'tag' }} + # https://docs.flutter.dev/development/tools/sdk/releases?tab=linux - name: "Setup flutter" - uses: "subosito/flutter-action@v2.4.0" + uses: subosito/flutter-action@v2 + with: + # set fixed stable version, to avoid surprises, when flutter upgrades + flutter-version: '3.3.10' + channel: 'stable' + + - run: flutter --version - name: "Fetch flutter dependencies" run: "flutter pub get"