Skip to content

Commit 05f46e1

Browse files
committed
chore(actions): tidy workflows and script layout
1 parent 479211f commit 05f46e1

8 files changed

Lines changed: 4 additions & 49 deletions
File renamed without changes.
File renamed without changes.
Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,4 @@ for csv in "${csvlist[@]}"; do
2222
fi
2323
done
2424

25-
# Compare all game servers listed in serverlist.csv to $shortname-icon.png files in ${datadir}/gameicons
26-
# if the game server is listed in serverlist.csv then it will have a $shortname-icon.png file
27-
28-
# loop though shortname in serverlist.csv
29-
echo ""
30-
echo "Checking that all the game servers listed in serverlist.csv have a shortname-icon.png file"
31-
for shortname in $(tail -n +2 serverlist.csv | cut -d ',' -f1); do
32-
# check if $shortname-icon.png exists
33-
if [ ! -f "gameicons/${shortname}-icon.png" ]; then
34-
echo "ERROR: gameicons/${shortname}-icon.png does not exist"
35-
exitcode=1
36-
else
37-
echo "OK: gameicons/${shortname}-icon.png exists"
38-
fi
39-
done
40-
4125
exit "${exitcode}"

.github/workflows/action-update-copyright-years-in-license-file.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/details-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: Generate matrix with generate-matrix.sh
27-
run: chmod +x .github/workflows/details-check-generate-matrix.sh; .github/workflows/details-check-generate-matrix.sh
27+
run: .github/scripts/details-check-generate-matrix.sh
2828

2929
- name: Set Matrix
3030
id: set-matrix

.github/workflows/serverlist-validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Compare Versions
18-
run: chmod +x .github/workflows/serverlist-validate.sh; .github/workflows/serverlist-validate.sh
18+
run: .github/scripts/serverlist-validate.sh
1919

2020
- name: Validate Game Icons
21-
run: chmod +x .github/workflows/serverlist-validate-game-icons.sh; .github/workflows/serverlist-validate-game-icons.sh
21+
run: .github/scripts/serverlist-validate-game-icons.sh

.github/workflows/version-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
uses: actions/checkout@v4
1515

1616
- name: Version Check
17-
run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh
17+
run: .github/scripts/version-check.sh

0 commit comments

Comments
 (0)