This Action can install Asciidoctor to a virtual machine of GitHub Actions.
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:
version
-- a Gemfile-compatible version string
Default: empty; installs the latest version.
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
- @peaceiris lent inspiration, example, and pointers.
- A bunch of Stackoverflow answers helped cobble this together.
- Parts of this project were created during 20% time graciously provided by codecentric. Thank you!