Upload to Windy by @vicb #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Upload the flyXC Soundings plugin' | |
run-name: Upload to Windy by @${{ github.actor }} | |
on: | |
workflow_dispatch: | |
jobs: | |
publish-plugin: | |
runs-on: ubuntu-latest | |
env: | |
WINDY_API_KEY: '${{ secrets.WINDY_API_KEY }}' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# We must fetch at least the immediate parents so that if this is | |
# a pull request then we can checkout the head. | |
fetch-depth: 2 | |
- name: Build | |
run: | | |
npm ci --no-audit | |
npm --prefix libs/windy-sounding ci --no-audit | |
npx nx build windy-sounding | |
- name: Publish Plugin | |
run: | | |
npx nx upload windy-sounding |