Skip to content

Commit 5c5f05b

Browse files
committed
[build] Install asciidoctor-pdf before building
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
1 parent e484c84 commit 5c5f05b

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
fullVersion: ${{ steps.version.outputs.fullVersion }}
3131
steps:
3232
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
33+
- name: Set up Ruby for asciidoctor-pdf
34+
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1
35+
with:
36+
ruby-version: 3.3.0
37+
- name: Install asciidoctor-pdf / rouge
38+
run: gem install asciidoctor-pdf rouge
3339
- name: Setup JDK 8
3440
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
3541
with:
@@ -68,12 +74,6 @@ jobs:
6874
environment: snapshots
6975
steps:
7076
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
71-
- name: Set up Ruby for asciidoctor-pdf
72-
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1
73-
with:
74-
ruby-version: 3.3.0
75-
- name: Install asciidoctor-pdf / rouge
76-
run: gem install asciidoctor-pdf rouge
7777
- name: Setup JDK 8
7878
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
7979
with:
@@ -107,12 +107,6 @@ jobs:
107107
environment: releases
108108
steps:
109109
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
110-
- name: Set up Ruby for asciidoctor-pdf
111-
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1
112-
with:
113-
ruby-version: 3.3.0
114-
- name: Install asciidoctor-pdf / rouge
115-
run: gem install asciidoctor-pdf rouge
116110
- name: Setup JDK 8
117111
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
118112
with:
@@ -148,12 +142,6 @@ jobs:
148142
environment: releases
149143
steps:
150144
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
151-
- name: Set up Ruby for asciidoctor-pdf
152-
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1
153-
with:
154-
ruby-version: 3.3.0
155-
- name: Install asciidoctor-pdf / rouge
156-
run: gem install asciidoctor-pdf rouge
157145
- name: Setup JDK 8
158146
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
159147
with:

0 commit comments

Comments
 (0)