Skip to content

Commit 7f15f74

Browse files
authored
Merge pull request #1871 from grails/matrei/ci-fixes
Improve to Java CI workflow
2 parents fc2b7d0 + 1412429 commit 7f15f74

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- '[7-9]+.[0-9]+.x'
99
jobs:
1010
build:
11+
name: "Build Project"
1112
runs-on: ubuntu-24.04
1213
permissions:
1314
contents: read
@@ -35,6 +36,7 @@ jobs:
3536
run: ./gradlew build --continue
3637
publish:
3738
if: github.event_name == 'push'
39+
name: "Publish Snapshot"
3840
needs: build
3941
runs-on: ubuntu-24.04
4042
permissions:
@@ -58,12 +60,15 @@ jobs:
5860
GRADLE_PUBLISH_RELEASE: 'false'
5961
MAVEN_PUBLISH_USERNAME: ${{ secrets.MAVEN_PUBLISH_USERNAME }}
6062
MAVEN_PUBLISH_PASSWORD: ${{ secrets.MAVEN_PUBLISH_PASSWORD }}
61-
MAVEN_PUBLISH_URL: ${{ secrets.MAVEN_PUBLISH_SNAPSHOT_URL }}
63+
# NOTE: secrets.MAVEN_PUBLISH_URL == https://repo.grails.org/grails/plugins3-snapshot-local
64+
MAVEN_PUBLISH_URL: https://repo.grails.org/grails/libs-snapshots-local
6265
run: ./gradlew --no-build-cache publish
6366
trigger-build-gorm-impls:
6467
if: github.event_name == 'push'
68+
name: "Trigger Build in GORM Implementations"
6569
needs: [build, publish]
6670
runs-on: ubuntu-24.04
71+
continue-on-error: true
6772
steps:
6873
- name: "📝 Store the target branch"
6974
id: extract_branch
@@ -77,19 +82,22 @@ jobs:
7782
run: echo "value={\"message\":\"New Data Mapping Snapshots $(date) - $GITHUB_SHA\"}" >> $GITHUB_OUTPUT
7883
- name: "📡 Invoke the Java CI workflow in GORM Hibernate5"
7984
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 (Use commit sha as this is a 3rd party action)
85+
continue-on-error: true
8086
with:
8187
workflow: Java CI
8288
repo: grails/gorm-hibernate5
8389
ref: ${{ steps.extract_branch.outputs.value }}
8490
token: ${{ secrets.GH_TOKEN }}
8591
- name: "📡 Invoke the Java CI workflow in GORM Hibernate6"
92+
continue-on-error: true
8693
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 (Use commit sha as this is a 3rd party action)
8794
with:
8895
workflow: Java CI
8996
repo: grails/gorm-hibernate6
9097
ref: ${{ steps.extract_branch.outputs.value }}
9198
token: ${{ secrets.GH_TOKEN }}
9299
- name: "📡 Invoke the Java CI workflow in GORM MongoDB"
100+
continue-on-error: true
93101
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 (Use commit sha as this is a 3rd party action)
94102
with:
95103
workflow: Java CI
@@ -98,6 +106,7 @@ jobs:
98106
token: ${{ secrets.GH_TOKEN }}
99107
inputs: ${{ steps.dispatch_message.outputs.value }}
100108
- name: "📡 Invoke the Java CI workflow in GORM Neo4j"
109+
continue-on-error: true
101110
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 (Use commit sha as this is a 3rd party action)
102111
with:
103112
workflow: Java CI

0 commit comments

Comments
 (0)