Do not hardcode warnings as errors #1079
Workflow file for this run
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: JSON BinPack | |
on: | |
- push | |
jobs: | |
website: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get install --yes doxygen bundler | |
- run: cmake --version | |
- run: cmake --preset release --log-context | |
- run: cmake --build --preset release --target bundler | |
# Jekyll is often flaky on GitHub Actions | |
- run: ./scripts/retry.sh cmake --build --preset release --target jekyll | |
- run: cmake --build --preset release --target doxygen | |
# Only deploy website from the main branch | |
- if: github.ref == 'refs/heads/main' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/release/www |