-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1.49 KB
/
pub-dashboard.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
name: pub-dashboard
on:
schedule:
# Runs every 4 hours
- cron: "0 0/4 * * *"
push:
branches: [ "main" ]
paths:
- '.github/workflows/pub-dashboard.yml'
pull_request:
branches: [ "main" ]
paths:
- '.github/workflows/pub-dashboard.yml'
workflow_dispatch:
jobs:
pub-dashboard-job:
strategy:
max-parallel: 1
matrix:
include:
- filename: 'README.md'
sort_field: 'published'
sort_mode: 'asc'
- filename: 'packages/sort_by_pubLikes.md'
sort_field: 'pubLikes'
sort_mode: 'desc'
- filename: 'packages/sort_by_githubStars.md'
sort_field: 'githubStars'
sort_mode: 'desc'
runs-on: ubuntu-latest
name: 'pub-dashboard :: ${{ matrix.filename }} :: ${{ matrix.sort_field }} :: ${{ matrix.sort_mode }}'
steps:
- name: run pub-dashboard
uses: AmosHuKe/pub-dashboard@main
with:
github_token: ${{ secrets.GH_TOKEN }}
github_repo: "https://github.com/fluttercandies/packages"
filename: ${{ matrix.filename }}
publisher_list: "fluttercandies.com"
package_list: "flutter_tilt,scrollview_observer,dext,flutter_custom_calendar,draggable_container,flutter_filereader,flutter_image_compress,flutter_live_activities,harmony_os_version,nav_router,saver_gallery,upgrade_tool,w_popup_menu,w_reorder_list,"
sort_field: ${{ matrix.sort_field }}
sort_mode: ${{ matrix.sort_mode }}