Skip to content

Update PlayerTrail #3603

Update PlayerTrail

Update PlayerTrail #3603

Workflow file for this run

name: Validate-XML
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: korelstar/xmllint-problem-matcher@v1
- name: Setup XMLLint
run: sudo apt update && sudo apt install --no-install-recommends -y libxml2-utils
- name: Validate ModLinks.xml
run: xmllint --noblanks ModLinks.xml --schema Schemas/ModLinks.xml
- name: Validate APILinks
run: xmllint --noblanks ApiLinks.xml --schema Schemas/ApiLinks.xml
verify:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup ModLinksShaVerifier
run: |
wget https://github.com/hk-modding/ModLinksShaVerifier/releases/download/v2/linux.zip
unzip linux.zip
- name: Verify APILinks SHAs
run: ./ModlinksShaVerifier ApiLinks.xml
- name: Verify ModLinks.xml SHAs
run: ./ModlinksShaVerifier ModLinks.xml