dita-ot / dita-ot-action

GitHub Action for building PDFs and static websites using DITA Open Toolkit
https://www.dita-ot.org
Apache License 2.0
8 stars 4 forks source link

Add project parameter #4

Closed jason-fox closed 3 years ago

jason-fox commented 3 years ago

Description

Adds an additional parameter to the dita-ot-action, builds can be configured without transtype, properties or other filters

 - name: Build PDF 🖨️
        uses: dita-ot/dita-ot-action@master
        with:
          install: |
            # A series of bash statements (optional)
          plugins: |
            # A set of DITA-OT Plugins (optional)
          project: pdf.xml
[INFO] DITA-OT version 3.6.1
[INFO] Installing prerequisite DITA-OT plugins
...
[INFO] Installing using command-line
...
[INFO] Building project pdf.xml

Motivation and Context

Since DITA-OT 3.4. it has been possible to build a project from the command line. This option is missing from the current dita-ot-action

How Has This Been Tested?

Sample build run can be seen here

Type of Changes

New feature

Documentation and Compatibility

Checklist