Skip to content

Commit a59adc8

Browse files
committed
Increase timeout
1 parent f953842 commit a59adc8

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: Release DROID
22
on:
3-
workflow_dispatch:
4-
inputs:
5-
to-deploy:
6-
description: 'Version to deploy'
7-
required: true
8-
next-version:
9-
description: 'Next version'
10-
required: true
3+
push:
4+
branches:
5+
- main
6+
- 6.9.1
117
permissions:
128
contents: write
139
env:
@@ -39,7 +35,7 @@ jobs:
3935
git checkout -b $BRANCH_NAME
4036
git push -u origin $BRANCH_NAME
4137
- run: mvn -q clean install -DskipTests -q -DnvdApiKey=${{ secrets.NVD_API_KEY }}
42-
- run: mvn -q -B release:prepare -DskipTests -DreleaseVersion=${{ github.event.inputs.to-deploy }} -DdevelopmentVersion=${{ github.event.inputs.next-version }} -Dtag=${{ github.event.inputs.to-deploy }}
38+
- run: mvn -q -B release:prepare -DskipTests
4339
- run: mvn -B release:perform -DskipTests
4440
- run: |
4541
curl -X POST "https://api.github.com/repos/digital-preservation/droid/pulls" \

droid-parent/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@
266266
<serverId>ossrh</serverId>
267267
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
268268
<autoReleaseAfterClose>true</autoReleaseAfterClose>
269+
<stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes>
269270
</configuration>
270271
</plugin>
271272
<plugin>

0 commit comments

Comments
 (0)