Skip to content

Flutter symbols collection #7915

Flutter symbols collection

Flutter symbols collection #7915

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