[all] : update assembly readme #1
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: assembly-readme | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- src/site/resources/project-readme.adoc | |
branches: | |
- master | |
- develop | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
version: [17] | |
distribution: [adopt] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4.1.1 | |
- name: install asciidoctor-reducer | |
run: sudo gem install asciidoctor-reducer | |
- name: assembly readme.adoc | |
# to preserve preprocessor conditionals, add the --preserve-conditionals option | |
run: asciidoctor-reducer --preserve-conditionals -o readme.adoc src/site/resources/project-readme.adoc | |
- name: commit and push readme.adoc | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: readme.adoc |