🔧 Add convert data mappings so that we don't crash without Pf2eTools … #712
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" | |
permissions: read-all | |
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] | |
permissions: | |
contents: write | |
actions: write | |
with: | |
artifact: ${{ needs.metadata.outputs.artifact }} | |
snapshot: ${{ needs.metadata.outputs.snapshot }} | |
push: "README.md README-WINDOWS.md docs" | |
secrets: inherit | |
native-build: | |
needs: [metadata, build] | |
uses: ebullient/workflows/.github/workflows/java-release-native-binaries.yml@main | |
permissions: | |
contents: read | |
actions: write | |
with: | |
version: ${{ needs.metadata.outputs.snapshot }} | |
secrets: inherit | |
snap-release: | |
needs: [main-root, metadata, build, native-build] | |
uses: ebullient/workflows/.github/workflows/java-snapshot.yml@main | |
permissions: | |
contents: write | |
with: | |
artifact: ${{ needs.metadata.outputs.artifact }} | |
snapshot: ${{ needs.metadata.outputs.snapshot }} | |
secrets: inherit |