Skip to content

💚 Try to fix publish x2 #21

💚 Try to fix publish x2

💚 Try to fix publish x2 #21

Workflow file for this run

name: Runnable (stable)
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
analyze:
name: Analyze on ${{ matrix.os }} with ${{ matrix.flutter-version }} Flutter
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- uses: flutter-actions/setup-flutter@v4
with:
channel: stable
cache: true
- name: Log Dart/Flutter versions
run: |
dart --version
flutter --version
- name: Prepare dependencies
run: dart pub get
- name: Melos bootstrap
uses: bluefireteam/melos-action@v3
- name: Check version consistency
run: |
dart run build_runner build -d
git --no-pager diff --exit-code lib/src/version.gen.dart
- name: Check Dart code formatting
if: matrix.flutter-version != 'min'
run: dart format lib -o none --set-exit-if-changed
- name: Analyze Dart code
run: flutter analyze .
- name: Publish dry-run
if: matrix.flutter-version != 'min'
run: dart pub publish --dry-run