Skip to content

Commit 2c0f076

Browse files
authored
Update main.yml
1 parent 07ef166 commit 2c0f076

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,22 @@ jobs:
2020
mvn --batch-mode deploy
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
23+
24+
deploy-await:
25+
runs-on: ubuntu-latest
26+
needs: publish-core
27+
steps:
28+
- name: Sleep for 30 seconds
29+
uses: jakejarvis/wait-action@master
30+
with:
31+
time: '2m'
32+
2433
publish-maven-plugin:
2534
runs-on: ubuntu-latest
2635
permissions:
2736
contents: read
2837
packages: write
29-
needs: publish-core
38+
needs: deploy-await
3039
steps:
3140
- uses: actions/checkout@v3
3241
- uses: actions/setup-java@v3

0 commit comments

Comments
 (0)