chore(deps): update dependency ubuntu_logger to ^0.2.0 #951
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-runner: | |
if: github.event_name != 'push' | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.10.x' | |
- run: flutter pub global activate melos | |
- run: melos pub-get | |
- run: flutter pub get # Bad state: Unable to generate package graph | |
- run: melos run generate | |
- run: ./.github/scripts/check-outdated-files.sh | |
l10n: | |
if: github.event_name != 'push' | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.10.x' | |
- run: flutter pub global activate melos | |
- run: melos pub-get | |
- run: melos run gen-l10n | |
- run: ./.github/scripts/check-outdated-files.sh | |
pull-request: | |
if: github.event_name != 'pull_request' | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.10.x' | |
- run: flutter pub global activate melos | |
- run: melos pub-get | |
- run: flutter pub get # Bad state: Unable to generate package graph | |
- run: melos run generate | |
- run: melos run gen-l10n | |
- uses: peter-evans/create-pull-request@v4 | |
with: | |
title: 'Regenerate files' | |
commit-message: 'Regenerate files' |