Skip to content

Commit 22b289b

Browse files
committed
temporary workaround for sonatype 502 response pt.2 - provide pipeline with javadocs without actual mvn deploy
1 parent 778f577 commit 22b289b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
6363
git config --global hub.protocol https
6464
git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:[email protected]/''' + 'swagger-api/swagger-core' + '''.git
6565
- name: Run maven deploy/release
66-
if: env.RELEASE_OK == 'nope'
66+
if: env.RELEASE_OK == 'yes'
6767
run: |
68-
./mvnw --no-transfer-progress -B -Prelease deploy
68+
./mvnw --no-transfer-progress -B -Prelease install
6969
- name: Run prepare javadocs script
7070
id: prepareJavadocs
7171
if: env.RELEASE_OK == 'yes'

modules/swagger-annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<executions>
6767
<execution>
6868
<id>copy-resources</id>
69-
<phase>deploy</phase>
69+
<phase>install</phase>
7070
<goals>
7171
<goal>copy-resources</goal>
7272
</goals>

0 commit comments

Comments
 (0)