1
0
Fork 0
mirror of https://github.com/subosito/flutter-action.git synced 2024-08-16 10:19:50 +02:00

add version matrix test

This commit is contained in:
Alif Rachmawadi 2022-01-06 08:57:24 +00:00
parent a7e6ec0df9
commit a3bd2fdf17
No known key found for this signature in database
GPG key ID: DD1F490C879BFA91

View file

@ -1,8 +1,7 @@
name: Main workflow
on: [push]
jobs:
run:
name: Run
test_channel:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
@ -26,3 +25,21 @@ jobs:
- name: Run flutter --version
shell: bash
run: flutter --version
test_version:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ 2.5.3, 2.x, 1, v1.12 ]
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: ./
with:
channel: stable
flutter-version: ${{ matrix.version }}
- name: Run dart --version
shell: bash
run: dart --version
- name: Run flutter --version
shell: bash
run: flutter --version