Skip to content

💚 Update target device #2

💚 Update target device

💚 Update target device #2

Workflow file for this run

name: Runnable (stable)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Analyze on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Get OS name
run: |
os_name="${{ matrix.os }}"
os_prefix=${os_name%%-*}
echo "os_prefix=${os_prefix}" >> $GITHUB_ENV
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: dart --version
- run: flutter --version
- run: flutter pub get
- run: cd example && flutter test -d ${{ env.os_prefix }} integration_test/simple_test.dart
- run: dart pub publish --dry-run
if: github.repository == 'AstroxNetwork/ord_dart'