Skip to content

Commit

Permalink
ci: Sets the min flutter version from env (#2788)
Browse files Browse the repository at this point in the history
Sets the min flutter version in the CI from env and moves to the stable
melos version for the gh pages build.
  • Loading branch information
spydon authored Oct 3, 2023
1 parent 3529075 commit 46d6269
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
types: [opened, reopened, synchronize]


env:
FLUTTER_MIN_VERSION: '3.13.0'

jobs:
# BEGIN LINTING STAGE
format:
Expand All @@ -23,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
flutter-version: ${{env.FLUTTER_MIN_VERSION}}
- uses: bluefireteam/melos-action@v2
- name: "Analyze with lowest supported version"
uses: invertase/github-action-dart-analyzer@v2.0.0
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@main
with:
melos-version: '3.0.0-dev.0'
- uses: bluefireteam/melos-action@v2
- uses: bluefireteam/flutter-gh-pages@v8
with:
workingDir: examples
Expand Down

0 comments on commit 46d6269

Please sign in to comment.