Skip to content

Commit 3fdc255

Browse files
committed
Sleep after uploading to Maven to fix transitional state issue
Signed-off-by: Marios Andreopoulos <[email protected]>
1 parent e2b9943 commit 3fdc255

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/publish-manually.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
2626
- name: Upload archive
2727
run: ./gradlew -Prelease -Pversion=${{ steps.get_tag.outputs.VERSION }} signArchives uploadArchives
28+
- name: Wait for nexus to settle
29+
run: sleep 30
2830
- name: Release archive
2931
run: ./gradlew -Prelease -Pversion=${{ steps.get_tag.outputs.VERSION }} closeAndReleaseRepository
3032
- name: Release to Github

.github/workflows/publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
2929
- name: Upload archive
3030
run: ./gradlew -Prelease -Pversion=${{ steps.get_tag.outputs.VERSION }} signArchives uploadArchives
31+
- name: Wait for nexus to settle
32+
run: sleep 30
3133
- name: Release archive
3234
run: ./gradlew -Prelease -Pversion=${{ steps.get_tag.outputs.VERSION }} closeAndReleaseRepository
3335
- name: Release to Github
@@ -36,4 +38,3 @@ jobs:
3638
files: build/libs/*-all.jar
3739
env:
3840
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-

0 commit comments

Comments
 (0)