-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 897 Bytes
/
readme.yaml
File metadata and controls
39 lines (31 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build readme
on:
push:
paths:
- src/docs/asciidoc/**
branches:
- '**'
jobs:
build:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Install asciidoctor-reducer
run: sudo gem install asciidoctor-reducer --pre
- name: Install rouge
run: sudo gem install rouge --pre
- name: Install asciidoctor-diagram
run: sudo gem install asciidoctor-diagram --pre
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
java-package: 'jdk+fx'
cache: maven
check-latest: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Reduce readme
run: asciidoctor-reducer -o README.adoc src/docs/asciidoc/readme-source.adoc
- name: Commit readme
uses: EndBug/add-and-commit@v9