use Node.js v24.12.0 to execute Antora #683
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
| --- | |
| # GitHub Actions workflow for commits pushed to the Libbulletjme repo - master branch only | |
| name: GitHub Pages website | |
| on: | |
| push: | |
| branches: [master] | |
| jobs: | |
| Website: | |
| if: contains(toJson(github.event.commits), '[ci skip] ') == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 21 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.12.0 | |
| - uses: actions/checkout@v6 | |
| - run: npm install --save-dev --save-exact antora | |
| - run: npx antora src/site/ci-playbook.yml | |
| - run: ./gradlew copyJavadocToSite --console=plain --stacktrace | |
| - uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./build/site |