-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (37 loc) · 1.28 KB
/
validate-gedcom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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: Checkout GEDCOM-registries
uses: actions/checkout@v4
with:
repository: FamilySearch/GEDCOM-registries
path: GEDCOM-registries
- name: Download GedValidate
shell: pwsh
run: Invoke-WebRequest https://github.com/ArmidaleSoftware/gedcom7/releases/download/v1.1.0/Windows-Release-GedValidate.zip -OutFile GedValidate.zip
- name: Unzip GedValidate
shell: pwsh
run: Expand-Archive GedValidate.zip -DestinationPath .\${{env.BUILD_PLATFORM}}
- name: Run GedValidate
shell: pwsh
run: |
.\${{env.BUILD_PLATFORM}}\GedValidate.exe .\GEDCOM-registries .\testfiles\gedcom70\