📝 🐛 Fix generated doc references #582
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: Java CI with Maven | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/maven.yml | |
- .github/project.yml | |
- "**.xml" | |
- "*.yml" | |
- "src/**" | |
- "ide-config" | |
env: | |
JAVA_VERSION: 17 | |
GRAALVM_DIST: graalvm-community | |
JAVA_DISTRO: temurin | |
GH_BOT_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com" | |
GH_BOT_NAME: "GitHub Action" | |
jobs: | |
main-root: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' && github.repository == 'ebullient/ttrpg-convert-cli' | |
steps: | |
- name: Echo a message | |
id: is-main-root | |
run: echo "This is the main branch of 'ebullient/ttrpg-convert-cli'" | |
metadata: | |
uses: ebullient/workflows/.github/workflows/java-snap-metadata.yml@main | |
build: | |
uses: ebullient/workflows/.github/workflows/java-snap-build.yml@main | |
needs: [metadata] | |
with: | |
artifact: ${{ needs.metadata.outputs.artifact }} | |
snapshot: ${{ needs.metadata.outputs.snapshot }} | |
push: "README.md README-WINDOWS.md docs" | |
secrets: inherit | |
native-build: | |
needs: [build] | |
uses: ebullient/workflows/.github/workflows/java-snap-native.yml@main | |
secrets: inherit | |
snap-release: | |
needs: [main-root, metadata, build, native-build] | |
uses: ebullient/workflows/.github/workflows/java-snapshot.yml@main | |
with: | |
artifact: ${{ needs.metadata.outputs.artifact }} | |
snapshot: ${{ needs.metadata.outputs.snapshot }} | |
secrets: inherit | |
bump: | |
name: Update website | |
needs: [main-root, build] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Bump website | |
env: | |
GH_TOKEN: ${{ secrets.EBULLIENT_PAT }} | |
run: | | |
gh workflow run -R ebullient/ebullient.github.io gh-pages.yml |