Skip to content

Commit 202e164

Browse files
committed
[build] Install asciidoctor-pdf before deploying
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
1 parent b41adc8 commit 202e164

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ jobs:
7474
environment: snapshots
7575
steps:
7676
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
77+
- name: Set up Ruby for asciidoctor-pdf
78+
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1
79+
with:
80+
ruby-version: 3.3.0
81+
- name: Install asciidoctor-pdf / rouge
82+
run: gem install asciidoctor-pdf rouge
7783
- name: Setup JDK 8
7884
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
7985
with:
@@ -107,6 +113,12 @@ jobs:
107113
environment: releases
108114
steps:
109115
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
116+
- name: Set up Ruby for asciidoctor-pdf
117+
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1
118+
with:
119+
ruby-version: 3.3.0
120+
- name: Install asciidoctor-pdf / rouge
121+
run: gem install asciidoctor-pdf rouge
110122
- name: Setup JDK 8
111123
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
112124
with:
@@ -142,6 +154,12 @@ jobs:
142154
environment: releases
143155
steps:
144156
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
157+
- name: Set up Ruby for asciidoctor-pdf
158+
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1
159+
with:
160+
ruby-version: 3.3.0
161+
- name: Install asciidoctor-pdf / rouge
162+
run: gem install asciidoctor-pdf rouge
145163
- name: Setup JDK 8
146164
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
147165
with:

0 commit comments

Comments
 (0)