v1.4.8 #30
Workflow file for this run
This file contains hidden or 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: Publish help release | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| build-and-release-help: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install correct node version | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build and zip help docs | |
| run: | | |
| npm run compile:api | |
| npm run compile:help | |
| npm run help:zip | |
| - name: Create release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| name: trackbear-help ${{ github.ref_name }} | |
| files: help-docs/.vitepress/trackbear-help.tar.gz | |
| fail_on_unmatched_files: true | |
| make_latest: true |