Skip to content

docs: Update version constraints #88

docs: Update version constraints

docs: Update version constraints #88

Workflow file for this run

name: ci
on:
push:
paths:
- '**.dart'
- '**.yml'
pull_request:
paths:
- '**.dart'
- '**.yml'
release:
paths:
- '**.dart'
- '**.yml'
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Flutter unit test
run: flutter test --coverage --coverage-path=lcov.info
- name: Report CodeCov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
file: lcov.info
flags: unittests
# build-web:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: Setup flutter
# run: |
# git clone https://github.com/flutter/flutter.git -b stable --depth 1
# ./flutter/bin/flutter doctor
# ./flutter/bin/flutter --version
# - name: Enable web
# run: ./flutter/bin/flutter config --enable-web
# - name: Build web
# run: cd example && ../flutter/bin/flutter build web && cd ..
# - name: Deploy web To GH-Page
# if: github.event_name=='release' && github.event.action=='published'
# uses: peaceiris/[email protected]
# env:
# ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# PUBLISH_BRANCH: gh-pages
# PUBLISH_DIR: ./example/build/web/