Skip to content

Add workflow to validate GEDCOM test files #2

Add workflow to validate GEDCOM test files

Add workflow to validate GEDCOM test files #2

Workflow file for this run

# For documentation on the github environment, see
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
#
# For documentation on the syntax of this file, see
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
---
name: Validate-GEDCOM
on:
push:
branches: [main, next-minor, next-patch]
pull_request:
branches: [main, next-minor, next-patch]
permissions:
contents: read
jobs:
validate-gedcom:
runs-on: windows-latest
env:
BUILD_PLATFORM: x64
steps:
- name: Checkout GEDCOM.io
uses: actions/checkout@v4
- name: Download GedValidate
shell: pwsh
run: Invoke-WebRequest https://github.com/ArmidaleSoftware/gedcom7/releases/download/v1.0.0/Windows.Release.GedValidate.exe.zip -OutFile GedValidate.zip
- name: Unzip GedValidate
shell: pwsh
run: Expand-Archive GedValidate.zip -DestinationPath .\${{env.BUILD_PLATFORM}

Check failure on line 34 in .github/workflows/validate-gedcom.yml

View workflow run for this annotation

GitHub Actions / Validate-GEDCOM

Invalid workflow file

The workflow is not valid. .github/workflows/validate-gedcom.yml (Line: 34, Col: 14): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found. .github/workflows/validate-gedcom.yml (Line: 38, Col: 14): Unexpected symbol: 'BUILD_PLATFORM}'. Located at position 5 within expression: env.BUILD_PLATFORM} dir .\${{github.workspace} .\${{env.BUILD_PLATFORM}\GedValidate.exe ${{github.workspace
- name: Run GedValidate
shell: pwsh
run: |
dir .\${{env.BUILD_PLATFORM}
dir .\${{github.workspace}
.\${{env.BUILD_PLATFORM}\GedValidate.exe ${{github.workspace}}\testfiles\gedcom70\maximal70.ged