Skip to content

Merge branch '2025' into SimpleMechs-2025 #428

Merge branch '2025' into SimpleMechs-2025

Merge branch '2025' into SimpleMechs-2025 #428

Workflow file for this run

name: Javadoc

Check failure on line 1 in .github/workflows/javadoc.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/javadoc.yml

Invalid workflow file

(Line: 21, Col: 7): 'uses' is already defined, (Line: 29, Col: 7): 'actions' is already defined
on: [push]
jobs:
build-javadoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Generate Javadoc
run: ./gradlew javadoc
- name: Build Artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v4
with:
path: ./build/docs/javadoc
deploy-javadoc:
needs: build-javadoc
if: ${{ github.ref == 'refs/heads/master' }}
permissions:
actions: read
actions: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4