Run layerlens. #4
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: Run layerlens. | |
on: | |
workflow_dispatch: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
paths: | |
- 'pubspec.yml' | |
- 'pubspec.lock' | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clone the repo | |
uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.19.2' | |
cache: true | |
- name: flutter pub get | |
run: flutter pub get | |
- name: add layerlens | |
run: flutter pub global activate layerlens | |
- name: generate | |
run: flutter pub run layerlens | |
- name: Commit files | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update dependency diagrams. |