Files
flutter-action/.github/workflows/workflow.yml
Alif Rachmawadi a7e6ec0df9 add PUBCACHE
2022-01-06 08:48:07 +00:00

29 lines
715 B
YAML

name: Main workflow
on: [push]
jobs:
run:
name: Run
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
channel: [stable, beta, dev]
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: ./
with:
channel: ${{ matrix.channel }}
- name: Print FLUTTER_ROOT
shell: bash
run: echo "FLUTTER_ROOT set to $FLUTTER_ROOT"
- name: Print PUBCACHE
shell: bash
run: echo "PUBCACHE set to $PUBCACHE"
- name: Run dart --version
shell: bash
run: dart --version
- name: Run flutter --version
shell: bash
run: flutter --version