@@ -104,6 +104,8 @@ jobs:
104
104
- uses : actions/checkout@v4
105
105
with :
106
106
ref : ${{ needs.open-release.outputs.TAG }}
107
+ token : ${{ secrets.WORKFLOW_TOKEN }}
108
+ fetch-depth : 0
107
109
- uses : actions/setup-java@v4
108
110
with :
109
111
distribution : zulu
@@ -132,29 +134,9 @@ jobs:
132
134
-Dstaging_host="${{ env.STAGING_HOST }}"
133
135
deploy -P release
134
136
135
- document :
136
- name : Publish Javadoc documentation
137
- needs : [ open-release, deploy ]
138
- runs-on : ubuntu-latest
139
- steps :
140
- - uses : actions/checkout@v4
141
- with :
142
- ref : ${{ needs.open-release.outputs.TAG }}
143
- fetch-depth : 0
144
- token : ${{ secrets.WORKFLOW_TOKEN }}
145
- - uses : actions/setup-java@v4
146
- with :
147
- distribution : zulu
148
- java-version : 21
149
-
150
- - name : Configure Git User
151
- run : |
152
- git config user.email "cowwoc2020@gmail.com"
153
- git config user.name "Gili Tzabari"
154
-
155
137
- name : Generate Javadoc
156
138
run : |
157
- ./mvnw --batch-mode -V -e verify javadoc:aggregate
139
+ ./mvnw --batch-mode -V -e javadoc:aggregate
158
140
mkdir --parents "${{ needs.open-release.outputs.VERSION }}/docs"
159
141
mv target/reports/apidocs "${{ needs.open-release.outputs.VERSION }}/docs/api"
160
142
@@ -167,7 +149,7 @@ jobs:
167
149
git push
168
150
169
151
close-release :
170
- needs : [ open-release, deploy, document ]
152
+ needs : [ open-release, deploy ]
171
153
runs-on : ubuntu-latest
172
154
steps :
173
155
- uses : actions/checkout@v4
@@ -207,8 +189,8 @@ jobs:
207
189
- uses : actions/checkout@v4
208
190
with :
209
191
ref : ${{ github.ref }}
210
- fetch-depth : 0
211
192
token : ${{ secrets.WORKFLOW_TOKEN }}
193
+ fetch-depth : 0
212
194
- uses : actions/setup-java@v4
213
195
with :
214
196
distribution : zulu
0 commit comments