Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Point to CGCZA organization's fork. #84

Point to CGCZA organization's fork.

Point to CGCZA organization's fork. #84

Workflow file for this run

name: Generate and Publish Artefacts
on: [push, workflow_dispatch]
jobs:
build_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Install dependencies"
run: |
sudo apt-get install --no-install-recommends gpsbabel
pip install -U aerofiles
echo "DATE=$(date +%Y-%m-%d)" >> $GITHUB_ENV
echo "TAG=v$(date +%Y-%m-%d)" >> $GITHUB_ENV
- name: "Create the release artefacts"
run: |
./script/release.bash
ls -larth ${{ env.TAG }}
- name: "Update Gist: CSV"
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.GIST_TOKEN }}
gist_id: 86d782cc0405dd54a80eecc3838ffe83
gist_file_name: ZA_Cape_UNRELEASED.cup.csv
file_path: ./${{ env.TAG}}/ZA_Cape_${{ env.DATE }}.cup.csv
- name: "Update Gist: GeoJSON"
uses: exuanbo/actions-deploy-gist@v1
with:
token: ${{ secrets.GIST_TOKEN }}
gist_id: 736c3658c29ba2a29abffdc2917e1839
gist_file_name: ZA_Cape_UNRELEASED.geojson
file_path: ./${{ env.TAG }}/ZA_Cape_${{ env.DATE }}.geojson
- uses: actions/upload-artifact@v2
with:
name: "Releasable waypoint CUP file"
path: ./${{ env.TAG }}/ZA_Cape_${{ env.DATE }}.cup
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`