update_goldens #18
Workflow file for this run
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: update_goldens | |
on: workflow_dispatch | |
jobs: | |
update_goldens: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📚 Checkout branch | |
uses: actions/checkout@v4 | |
- name: 🐦 Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.x" | |
channel: stable | |
cache: true | |
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} | |
- name: 📦 Install Tools | |
run: flutter pub global activate melos | |
- name: 🔧 Bootstrap Workspace | |
run: melos bootstrap --verbose | |
- name: 🖼️ Update Goldens | |
continue-on-error: true | |
run: melos run update:goldens | |
- name: 📤 Commit Changes | |
id: commit_changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore: Update Goldens" | |
commit_user_name: github-actions[bot] | |
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com |