Skip to content

Commit fc15807

Browse files
exclude directories, skip verify on dryrun
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
1 parent 01d1a65 commit fc15807

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Update parent POM versions in modules
6262
run: |
6363
# Update parent version in all child POMs
64-
for pom in $(find . -name pom.xml -not -path "*/target/*"); do
64+
for pom in $(find . -name pom.xml -not -path "*/target/*" -not -path "*/src/test/resources/*"); do
6565
if [ -f "$pom" ]; then
6666
echo "Updating parent version in $pom"
6767
mvn versions:update-parent -DparentVersion=${{ github.event.inputs.release_version }} -f "$pom"
@@ -235,6 +235,7 @@ jobs:
235235
prerelease: false
236236

237237
check-central-deployment:
238+
if: ${{ github.event.inputs.dryrun != 'true' }}
238239
name: Verify Maven Central Deployment
239240
needs: release
240241
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)