File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v4
2020 with :
21+ ref : feature/lyrics-reimplementation
2122 fetch-depth : 0
2223
2324 - uses : actions/setup-node@v4
4546 name : lyrics-apply-error
4647 path : /tmp/lyrics-apply.log
4748
48- - name : Stop after generator failure
49+ - name : Persist generator failure
4950 if : steps.apply.outcome == 'failure'
5051 run : |
52+ cp /tmp/lyrics-apply.log lyrics-apply-error.txt
53+ git config user.name github-actions[bot]
54+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
55+ git add lyrics-apply-error.txt
56+ git commit -m '[lyrics-error] chore: capture generator failure' || true
57+ git push origin HEAD:feature/lyrics-reimplementation || true
5158 cat /tmp/lyrics-apply.log
5259 exit 1
5360
6774 run : |
6875 rm -f .github/workflows/lyrics-reimplementation.yml
6976 rm -f scripts/apply_lyrics_reimplementation.py
77+ rm -f lyrics-apply-error.txt
7078 git diff 367fe96f7e89ee18e94a60ab487a631561bbe94f > /tmp/MediaShell-lyrics-reimplementation.patch
7179 zip -qr /tmp/MediaShell-lyrics-reimplementation-source.zip . \
7280 -x '.git/*' 'node_modules/*' 'dist/*'
You can’t perform that action at this time.
0 commit comments