Skip to content

Commit

Permalink
Add flutter changes for all jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
donpui committed Jan 25, 2023
1 parent 8e25db0 commit 68c77a3
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]"
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"
Expand Down Expand Up @@ -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/[email protected]"
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"
Expand Down Expand Up @@ -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/[email protected]"
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"
Expand Down Expand Up @@ -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/[email protected]"
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"
Expand Down

0 comments on commit 68c77a3

Please sign in to comment.