Flutter Version Management CLI #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Flutter Version Management CLI | |
on: | |
push: | |
branches: [main, v*] | |
pull_request: | |
branches: [main, v*] | |
schedule: | |
# https://crontab.guru/#40_10_*_*_* | |
- cron: '40 10 * * *' | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest # Apple M1 Silicon | |
- macos-13 # Intel Mac | |
version: | |
- latest | |
- 3.1.5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
version: ${{ matrix.version }} | |
- name: Setup Flutter SDK | |
run: echo yes | fvm install stable --skip-pub-get | |
- run: | | |
cd test | |
echo "Dart SDK version:" | |
fvm dart --version | |
echo "Flutter SDK version:" | |
fvm flutter --version |