Skip to content

Try the fat jar

Try the fat jar #9

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
DITA_OT_VERSION: 4.1.2
jobs:
dita-ot_4-1-2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
- name: DITA-OT
run: |
curl --location --remote-name https://github.com/dita-ot/dita-ot/releases/download/4.1.2/dita-ot-4.1.2.zip
unzip dita-ot-4.1.2
chmod +x dita-ot-4.1.2/bin/dita
chmod +x dita-ot-4.1.2/bin/ant
zip -qq -r org.jung.schematron.zip . -x ./.git/**\*
dita-ot-4.1.2/bin/dita install https://github.com/stefan-jung/org.jung.graal/archive/refs/heads/main.zip
dita-ot-4.1.2/bin/dita install org.jung.schematron.zip --force
- name: Build test files
run: |
dita-ot-4.1.2/bin/dita --project=samples/samples.xml --output=4.1.2 --processing-mode=strict --verbose
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: org.jung.terminology-4-1-2
path: |
4.1.2
dita-ot_4-0-2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
- name: DITA-OT
run: |
curl --location --remote-name https://github.com/dita-ot/dita-ot/releases/download/4.0.2/dita-ot-4.0.2.zip
unzip dita-ot-4.0.2
chmod +x dita-ot-4.0.2/bin/dita
chmod +x dita-ot-4.0.2/bin/ant
zip -qq -r org.jung.schematron.zip . -x ./.git/**\*
dita-ot-4.0.2/bin/dita install https://github.com/stefan-jung/org.jung.graal/archive/refs/heads/main.zip
dita-ot-4.0.2/bin/dita install org.jung.schematron.zip --force
- name: Build test files
run: |
dita-ot-4.0.2/bin/dita --project=samples/samples.xml --output=4.0.2 --processing-mode=strict --verbose
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: org.jung.terminology-4-0-2
path: |
4.0.2
dita-ot_3-7-4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
- name: DITA-OT
run: |
curl --location --remote-name https://github.com/dita-ot/dita-ot/releases/download/3.7.4/dita-ot-3.7.4.zip
unzip dita-ot-3.7.4
chmod +x dita-ot-3.7.4/bin/dita
chmod +x dita-ot-3.7.4/bin/ant
zip -qq -r org.jung.terminology.zip . -x ./.git/**\*
zip -qq -r org.jung.schematron.zip . -x ./.git/**\*
dita-ot-3.7.4/bin/dita install https://github.com/stefan-jung/org.jung.graal/archive/refs/heads/main.zip
dita-ot-3.7.4/bin/dita install org.jung.schematron.zip --force
- name: Build test files
run: |
dita-ot-3.7.4/bin/dita --project=samples/samples.xml --output=3.7.4 --processing-mode=strict --verbose
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: org.jung.terminology-3-7-4
path: |
3.7.4