Skip to content

Commit 0254801

Browse files
authored
Final tweaks before push to main
1 parent df38285 commit 0254801

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

.github/workflows/generate_db.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,32 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
- name: Set up Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: '3.x'
24+
25+
- name: Install Python dependencies
26+
run: |
27+
pip install tqdm
28+
29+
- name: Generate MAD files from CSV
30+
run: |
31+
mkdir -p mad
32+
python3 csv2mad.py ArcadeDatabase_CSV/ArcadeDatabase.csv
33+
34+
- name: Commit updated MAD files
35+
run: |
36+
git config --global user.name "The CI/CD Bot"
37+
git config --global user.email "theypsilon@gmail.com"
38+
git add mad/
39+
if git diff --cached --quiet; then
40+
echo "No changes to commit"
41+
else
42+
git commit -m "Update generated MAD files"
43+
git push
44+
fi
45+
2046
- name: Generate DBs
2147
run: |
2248
set -euo pipefail

ArcadeDatabase_CSV/ArcadeDatabase.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
setname,name,region,version,alternative,parent_title,platform,series,homebrew,bootleg,year,manufacturer,category,linebreak1,resolution,rotation,flip,linebreak2,players,move_inputs,special_controls,num_buttons
2-
1941,"19941- Counter Attack (W, 900227)",World,900227,yes,1941- Counter Attack,Capcom CPS-1,19XX,no,no,1990,Capcom,Shooter - Flying Vertical,,15kHz,vertical (ccw),yes,,2 (simultaneous),8-way,,2
2+
1941,"1941- Counter Attack (W, 900227)",World,900227,yes,1941- Counter Attack,Capcom CPS-1,19XX,no,no,1990,Capcom,Shooter - Flying Vertical,,15kHz,vertical (ccw),yes,,2 (simultaneous),8-way,,2
33
1941j,1941- Counter Attack (JP),Japan,,no,1941- Counter Attack,Capcom CPS-1,19XX,no,no,1990,Capcom,Shooter - Flying Vertical,,15kHz,vertical (ccw),yes,,2 (simultaneous),8-way,,2
44
1941r1,1941- Counter Attack (W),World,,yes,1941- Counter Attack,Capcom CPS-1,19XX,no,no,1990,Capcom,Shooter - Flying Vertical,,15kHz,vertical (ccw),yes,,2 (simultaneous),8-way,,2
55
1941u,"1941- Counter Attack (US, 900227)",USA,900227,yes,1941- Counter Attack,Capcom CPS-1,19XX,no,no,1990,Capcom,Shooter - Flying Vertical,,15kHz,vertical (ccw),yes,,2 (simultaneous),8-way,,2

0 commit comments

Comments
 (0)