-
Notifications
You must be signed in to change notification settings - Fork 379
38 lines (31 loc) · 1.09 KB
/
update_goldens.yml
File metadata and controls
38 lines (31 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: update_goldens
on: workflow_dispatch
jobs:
update_goldens:
runs-on: ubuntu-latest
steps:
- name: 📚 Checkout branch
uses: actions/checkout@v5
with:
ssh-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- 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
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: "chore: Update Goldens"
file_pattern: "**/test/**/goldens/*.png"
commit_user_name: "Stream SDK Bot"
commit_user_email: "60655709+Stream-SDK-Bot@users.noreply.github.com"