Browse Source

dir

pull/4207/head
Daniel Gibbs 2 years ago
parent
commit
48307c9264
  1. 2
      .github/workflows/serverlist-validate.sh
  2. 2
      .github/workflows/serverlist-validate.yml

2
.github/workflows/serverlist-validate.sh

@ -2,7 +2,7 @@
echo "Checking that all the game servers are listed in all csv files" echo "Checking that all the game servers are listed in all csv files"
echo "this check will ensure serverlist.csv has the same number of lines (-2 lines) as the other csv files" echo "this check will ensure serverlist.csv has the same number of lines (-2 lines) as the other csv files"
# count the number of lines in the serverlist.csv # count the number of lines in the serverlist.csv
cd ../../lgsm/data/ cd lgsm/modules
serverlistcount="$(wc -l < serverlist.csv)" serverlistcount="$(wc -l < serverlist.csv)"
echo "serverlistcount: $serverlistcount" echo "serverlistcount: $serverlistcount"
# get list of all csv files starting with ubunutu debian centos # get list of all csv files starting with ubunutu debian centos

2
.github/workflows/serverlist-validate.yml

@ -5,7 +5,7 @@ on:
jobs: jobs:
# This workflow contains a single job called "build" # This workflow contains a single job called "build"
Version-Check: serverlist-validate:
# The type of runner that the job will run on # The type of runner that the job will run on
runs-on: ubuntu-latest runs-on: ubuntu-latest

Loading…
Cancel
Save