mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-11-25 08:37:13 +00:00
- Configure JUnit tests to write OTR files. - Add a custom OTR reporter to the gametest framework. - Update parse-reports to ingest OTR files. - Gather all report files and publish them as an artifact.
37 lines
759 B
YAML
37 lines
759 B
YAML
name: Build documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- mc-*
|
|
|
|
jobs:
|
|
make_doc:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: 📥 Clone repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: 📥 Set up Java
|
|
uses: actions/setup-java@v5
|
|
with:
|
|
java-version: 25
|
|
distribution: 'temurin'
|
|
|
|
- name: 📥 Setup Gradle
|
|
uses: gradle/actions/setup-gradle@v6
|
|
with:
|
|
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/mc-') }}
|
|
|
|
- name: ⚒️ Generate documentation
|
|
run: ./gradlew docWebsite --no-daemon
|
|
|
|
- name: 📤 Upload Jar
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: Documentation
|
|
path: ./projects/web/build/site/
|
|
retention-days: 1
|