-
-
Notifications
You must be signed in to change notification settings - Fork 237
58 lines (47 loc) · 1.58 KB
/
flutter-symbols.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Flutter symbols collection
on:
schedule:
# Run once an hour. It takes just a couple of minutes because of status caching.
- cron: "10 * * * *"
workflow_dispatch:
inputs:
flutter_version:
description: Flutter version, can be either a specific version (3.17.0) or a wildcard (3.2.*)
required: false
type: string
default: "3.*.*"
defaults:
run:
working-directory: scripts/flutter_symbol_collector
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # pin@v1
- run: dart pub get
- run: dart test
run:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 # pin@v1
- run: dart pub get
- name: Download status cache of previously processed files
run: |
gh run download --name 'flutter-symbol-collector-database' --dir .cache
grep -r "" .cache
continue-on-error: true
env:
GITHUB_TOKEN: ${{ github.token }}
- run: dart run bin/flutter_symbol_collector.dart --version=${{ inputs.flutter_version || '3.*.*' }}
timeout-minutes: 300
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload updated status cache of processed files
uses: actions/upload-artifact@v4
if: always()
with:
name: flutter-symbol-collector-database
path: scripts/flutter_symbol_collector/.cache