mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2024-11-26 22:50:45 +00:00
Add beforeBuild option to execute custom commands for supplementing progress
Failure:
https://github.com/laqieer/fireemblem8u/actions/runs/4638791005/jobs/8208945749
Reason:
54b574f2f0
Solution:
beforeBuild: sed -i "s|-L tools/agbcc/lib|-R data/banim/data_banim.o.sym.o -L tools/agbcc/lib|g" Makefile
This commit is contained in:
parent
5f1db86584
commit
ad7345837a
5
.github/workflows/supplement-progress.yml
vendored
5
.github/workflows/supplement-progress.yml
vendored
@ -6,6 +6,9 @@ on:
|
||||
range:
|
||||
description: 'Range'
|
||||
required: true
|
||||
beforeBuild:
|
||||
description: 'Before Build'
|
||||
default: 'echo build'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -31,4 +34,4 @@ jobs:
|
||||
run: head -c 16777216 /dev/urandom > baserom.gba
|
||||
|
||||
- name: Supplement progress data
|
||||
run: for commit in `git log --merges --format=%h ${{ inputs.range }}`; do git checkout -f $commit && git checkout ${{ github.ref_name }} scripts && make fireemblem8.gba && sh scripts/calcrom.sh > progress.txt && make clean && python scripts/upload-progress.py -b "https://progress.deco.mp" -a ${{secrets.PROGRESS_API_KEY}} -p fireemblem8 -v us -t scripts/progress-template.txt progress.txt; done
|
||||
run: for commit in `git log --merges --format=%h ${{ inputs.range }}`; do git checkout -f $commit && git checkout ${{ github.ref_name }} scripts && ${{ inputs.beforeBuild }} && make fireemblem8.gba && sh scripts/calcrom.sh > progress.txt && make clean && python scripts/upload-progress.py -b "https://progress.deco.mp" -a ${{secrets.PROGRESS_API_KEY}} -p fireemblem8 -v us -t scripts/progress-template.txt progress.txt; done
|
||||
|
Loading…
Reference in New Issue
Block a user