1
0
Fork 0
mirror of https://github.com/subosito/flutter-action.git synced 2024-08-16 10:19:50 +02:00
Find a file
2019-08-14 08:04:35 +07:00
.github/workflows removed whitespace 2019-08-14 07:34:44 +07:00
__tests__ semver and channel for cache dir 2019-08-14 08:04:35 +07:00
lib semver and channel for cache dir 2019-08-14 08:04:35 +07:00
node_modules set unzip as executable 2019-08-13 18:29:11 +07:00
scripts/externals add unzip for macos 2019-08-13 18:52:19 +07:00
src semver and channel for cache dir 2019-08-14 08:04:35 +07:00
.gitignore initial commit 2019-08-13 17:11:30 +07:00
.prettierrc.json initial commit 2019-08-13 17:11:30 +07:00
action.yml updated metadata 2019-08-14 05:45:22 +07:00
jest.config.js initial commit 2019-08-13 17:11:30 +07:00
LICENSE initial commit 2019-08-13 17:11:30 +07:00
package-lock.json add helper to extract .tar.xz 2019-08-13 17:46:10 +07:00
package.json add helper to extract .tar.xz 2019-08-13 17:46:10 +07:00
README.md updated readme 2019-08-14 05:45:49 +07:00
tsconfig.json initial commit 2019-08-13 17:11:30 +07:00

flutter-action

This action sets up a flutter environment for use in actions. It works on Linux, Windows, and macOS.

Usage

steps:
- uses: actions/checkout@master
- uses: actions/setup-java@v1
  with:
    java-version: '12.x'
- uses: subosito/flutter-action@master
  with:
    version: '1.7.8+hotfix.4'
- run: flutter pub get
- run: flutter test
- run: flutter build apk

Matrix Testing:

jobs:
  test:
    name: Test on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
    steps:
      - uses: actions/checkout@master
      - uses: actions/setup-java@v1.0.1
        with:
          java-version: '12.x'
      - uses: subosito/flutter-action@master
        with:
          version: '1.7.8+hotfix.4'
      - run: flutter pub get
      - run: flutter test
      - run: flutter build apk