Skip to content

Commit e456bf1

Browse files
committed
[CI] also install twmap with cargo for multi
1 parent 38d923f commit e456bf1

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/multi.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
old_commit="$(git log -3 --pretty=format:"%H" | tail -n1)"
2828
wget -O ../master.map https://github.com/DDNetPP/maps/raw/master/blmapV3multistarbox.map
2929
wget -O ../old.map "https://github.com/DDNetPP/maps/raw/$old_commit/blmapV3multistarbox.map"
30-
wget -O ../twmap-edit https://zillyhuhn.com/tmp/twmap-edit && chmod +x ../twmap-edit
31-
chmod +x ../twmap-edit
30+
cargo install twmap-tools
3231
wget -O ../diff.sh https://raw.githubusercontent.com/lib-crash/lib-teeworlds/ffd36e74cc55dfd6f49ab08122d4a09a6a090ead/misc/mapdir_git_diff.sh
3332
chmod +x ../diff.sh
3433
@@ -39,8 +38,8 @@ jobs:
3938
4039
- name: Diff prev commit
4140
run: |
42-
../twmap-edit ../old.map old --mapdir
43-
../twmap-edit blmapV3multistarbox.map new --mapdir
41+
twmap-edit ../old.map old --mapdir
42+
twmap-edit blmapV3multistarbox.map new --mapdir
4443
cd old || exit 1
4544
{
4645
git config --global init.defaultBranch main
@@ -64,7 +63,7 @@ jobs:
6463

6564
- name: Diff master
6665
run: |
67-
../twmap-edit ../master.map master --mapdir
66+
twmap-edit ../master.map master --mapdir
6867
cd master || exit 1
6968
{
7069
git config --global init.defaultBranch main

0 commit comments

Comments
 (0)