Skip to content

Add LRBV - BRASOV GHIMBAV INTERNATIONAL AIRPORT #91

Add LRBV - BRASOV GHIMBAV INTERNATIONAL AIRPORT

Add LRBV - BRASOV GHIMBAV INTERNATIONAL AIRPORT #91

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
tags: ["v*"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
build:
name: "Validate and generate"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate airports.yaml
uses: thiagodnf/[email protected]
with:
jsonSchemaFile: schemas/airports.schema.json
yamlFiles: airports.yaml
- name: Validate navaids.yaml
uses: thiagodnf/[email protected]
with:
jsonSchemaFile: schemas/navaids.schema.json
yamlFiles: navaids.yaml
- name: Create airports.json
run: |
yq airports.yaml > /dev/null
yq -o=json -I=0 airports.yaml > airports.json
- name: Create navaids.json
run: |
yq navaids.yaml > /dev/null
yq -o=json -I=0 navaids.yaml > navaids.json
- name: Create release
if: github.ref_type == 'tag' && contains(github.ref_name, 'v')
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
name: NavData ${{ github.ref_name }}
prerelease: false
draft: true
files: |
airports.json
navaids.json