forked from vatsimnetwork/simaware-tracon-project
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 795 Bytes
/
build.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
name: Compile TRACON Boundaries
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Compile boundary files
run: node compiler.js
- name: Tag
run: echo ${{ github.sha }} > Release.txt
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: TRACONBoundaries
path: TRACONBoundaries.geojson
- name: Create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: TRACONBoundaries.geojson