Skip to content
package

GitHub Action

Asciidoctor Setup

v2.0.2 Latest version

Asciidoctor Setup

package

Asciidoctor Setup

Install and set up asciidoctor quickly

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Asciidoctor Setup

uses: reitzig/[email protected]

Learn more about this action in reitzig/actions-asciidoctor

Choose a version

license release GitHub release date Test

Asciidoctor Setup Action

This Action can install Asciidoctor to a virtual machine of GitHub Actions.

Usage

Given that Ruby has already been installed (e.g. by ruby/setup-ruby), include this in your workflow:

 - uses: reitzig/[email protected]

These inputs are allowed:

Working Example

name: Asciidoctor Demo

on:
  push:
    branches:
      - master

jobs:
  example:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7

      - uses: reitzig/[email protected]
        with:
          version: 2.0.18

      - run: asciidoctor --version

Acknowledgements