Skip to content

Commit 737ef67

Browse files
committed
Cosmetic changes
1 parent 0f4345d commit 737ef67

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/deploy_to_maven_central.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ jobs:
137137
- name: Test build
138138
run: ./mvnw --batch-mode -V -e verify
139139

140-
# Must quote exclamation mark on bash: https://stackoverflow.com/a/27177197/14731
141140
- name: Deploy to Maven Central
142141
run: >
143142
./mvnw --batch-mode -V -e
@@ -146,7 +145,6 @@ jobs:
146145
-P release
147146
deploy
148147
149-
# Must quote exclamation mark on bash: https://stackoverflow.com/a/27177197/14731
150148
- name: Generate Javadoc
151149
run: |
152150
./mvnw --batch-mode -V -e javadoc:aggregate
@@ -159,11 +157,11 @@ jobs:
159157
run: |
160158
git checkout ${{ github.ref_name }} -f
161159
git add "docs/api/${{ needs.open-release.outputs.VERSION }}"
162-
git commit -m "Publishing Javadoc for version ${{ needs.open-release.outputs.VERSION }}"
160+
git commit -m "Publishing documentation for version ${{ needs.open-release.outputs.VERSION }}"
163161
git push
164162
165-
javadoc:
166-
name: Javadoc
163+
document:
164+
name: Document
167165
needs: deploy
168166
environment:
169167
name: github-pages
@@ -186,7 +184,7 @@ jobs:
186184

187185
close-release:
188186
name: Close release
189-
needs: [ open-release, deploy, javadoc ]
187+
needs: [ open-release, deploy, document ]
190188
runs-on: ubuntu-latest
191189
steps:
192190
- uses: actions/checkout@v4
@@ -219,7 +217,7 @@ jobs:
219217
# Cleanup on failure: https://stackoverflow.com/a/74562058/14731
220218
on-failure:
221219
name: On failure
222-
needs: [ open-release, deploy, javadoc, close-release ]
220+
needs: [ open-release, deploy, document, close-release ]
223221
runs-on: ubuntu-latest
224222
if: ${{ failure() || cancelled() }}
225223
steps:

0 commit comments

Comments
 (0)