55 - cron : " 0 */6 * * *"
66 workflow_dispatch :
77
8+ # A second run pushing over a still-running first one would fail or interleave
9+ # commits; queue instead.
10+ concurrency :
11+ group : update-package-table
12+ cancel-in-progress : false
13+
814jobs :
915 build :
1016 runs-on : ubuntu-latest
@@ -18,37 +24,21 @@ jobs:
1824 with :
1925 persist-credentials : false
2026 - uses : prefix-dev/setup-pixi@f00437f565399d418b0acc85936d12c1fb668347 # v0.10.1
21- # foxy and galactic are end-of-life; public/data/{foxy,galactic}.json are
22- # committed snapshots and deliberately not regenerated here.
23- - name : Create table noetic
24- run : |
25- pixi run compare-completeness noetic robostack-noetic
26- - name : Create table humble
27- run : |
28- pixi run compare-completeness humble robostack-humble
29- - name : Create table jazzy
30- run : |
31- pixi run compare-completeness jazzy robostack-jazzy
32- - name : Create table kilted
33- run : |
34- pixi run compare-completeness kilted robostack-kilted
35- - name : Create table rolling
36- run : |
37- pixi run compare-completeness rolling https://prefix.dev/robostack-rolling
38- - name : Create table lyrical
27+ # Regenerates every distro with a dataChannel in src/data/distros.json;
28+ # a distro without one (foxy, galactic) is a committed snapshot. A failed
29+ # distro does not stop the others: whatever succeeded is still committed
30+ # below, and the run is marked failed at the end.
31+ - name : Update tables
32+ id : update
33+ continue-on-error : true
3934 run : |
40- pixi run compare-completeness lyrical https://prefix.dev/robostack-lyrical
35+ pixi run update-tables
4136 - name : Commit changes
4237 id : commit
4338 run : |
4439 git config --local user.email "action@github.com"
4540 git config --local user.name "GitHub Action"
46- git add public/data/noetic.json
47- git add public/data/humble.json
48- git add public/data/jazzy.json
49- git add public/data/kilted.json
50- git add public/data/rolling.json
51- git add public/data/lyrical.json
41+ git add public/data
5242 git commit -m "Update tables"
5343 continue-on-error : true
5444 - name : Push changes
5747 with :
5848 github_token : ${{ secrets.GITHUB_TOKEN }}
5949 branch : ${{ github.ref }}
50+ - name : Surface update failures
51+ if : steps.update.outcome == 'failure'
52+ run : exit 1
0 commit comments