Skip to content

Minor tweaks

Minor tweaks #11

Workflow file for this run

name: Test
on: push
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Checkout EXDSchema
uses: actions/checkout@v4
with:
repository: xivdev/EXDSchema
ref: latest
submodules: recursive
path: EXDSchema
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.0"
- name: Build
run: dotnet build -c Release
- name: Retrieve cache
uses: actions/cache@v4
with:
path: data
key: exd-${{hashFiles('data/.cachemeta.json')}}
restore-keys: |
exd-
- name: Download Game Data
uses: WorkingRobot/ffxiv-downloader@v7
with:
output-path: data
regex: '^sqpack\/ffxiv\/0a0000\..+$'
- name: Export Columns
id: export-columns
if: always()
run: dotnet run -c Release --no-build -- export-columns -g data/sqpack -o columns.yml
- name: Export Hashes
id: export-hashes
if: always()
run: dotnet run -c Release --no-build -- export-hashes -g data/sqpack -o hashes.yml
- name: Export Paths
id: export-paths
if: always()
run: dotnet run -c Release --no-build -- export-paths -g data/sqpack -s EXDSchema -o paths
- name: Validate Schema
id: validate-schema
if: always()
run: dotnet run -c Release --no-build -- validate -g data/sqpack -s EXDSchema
- name: Upload Columns
uses: actions/upload-artifact@v4
if: ${{ steps.export-columns.conclusion == 'success' }}
continue-on-error: true
with:
name: columns
path: columns.yml
if-no-files-found: error
- name: Upload Hashes
uses: actions/upload-artifact@v4
if: ${{ steps.export-hashes.conclusion == 'success' }}
continue-on-error: true
with:
name: hashes
path: hashes.yml
if-no-files-found: error
- name: Upload Paths
uses: actions/upload-artifact@v4
if: ${{ steps.export-paths.conclusion == 'success' }}
continue-on-error: true
with:
name: paths
path: paths
if-no-files-found: error