add version matrix test
This commit is contained in:
21
.github/workflows/workflow.yml
vendored
21
.github/workflows/workflow.yml
vendored
@@ -1,8 +1,7 @@
|
|||||||
name: Main workflow
|
name: Main workflow
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
test_channel:
|
||||||
name: Run
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
runs-on: ${{ matrix.operating-system }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -26,3 +25,21 @@ jobs:
|
|||||||
- name: Run flutter --version
|
- name: Run flutter --version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: flutter --version
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user