Skip to content

Add METARFormatting target for locale-aware METAR and TAF formatting #30

Add METARFormatting target for locale-aware METAR and TAF formatting

Add METARFormatting target for locale-aware METAR and TAF formatting #30

Workflow file for this run

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Documentation
on:
push:
branches: [main]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: pages
cancel-in-progress: true
jobs:
# Build job
build:
name: Generate Documentation
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: SwiftyLab/setup-swift@latest
with:
swift-version: "6.0"
- name: Build
run: |
swift package \
--allow-writing-to-directory ./docs \
generate-documentation --target SwiftMETAR --output-path ./docs \
--disable-indexing \
--transform-for-static-hosting \
--hosting-base-path SwiftMETAR
- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: "docs/"
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4