This repository was archived by the owner on Oct 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +29
-10
lines changed
Expand file tree Collapse file tree 7 files changed +29
-10
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,13 @@ jobs:
1717 - uses : gradle/wrapper-validation-action@v2
1818 - uses : actions/setup-java@v4
1919 with :
20- distribution : temurin
20+ distribution : liberica
2121 java-version : 17
2222 - name : Run Gradle build
2323 uses : gradle/actions/setup-gradle@v3
2424 env :
2525 GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
26+ GITHUB_MAVEN_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
2627 with :
2728 arguments : build
2829 publish_documentation :
3536 - uses : gradle/wrapper-validation-action@v2
3637 - uses : actions/setup-java@v4
3738 with :
38- distribution : temurin
39+ distribution : liberica
3940 java-version : 17
4041 - name : Publish to Artifactory (repo.grails.org)
4142 uses : gradle/actions/setup-gradle@v3
5657 arguments : docs
5758 - name : Publish to Github Pages
5859 if : success()
59- uses : micronaut-projects /github-pages-deploy-action@grails
60+ uses : grails /github-pages-deploy-action@grails
6061 env :
6162 TARGET_REPOSITORY : ${{ github.repository }}
6263 GH_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 9999 GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
100100 GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
101101 GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
102+ GITHUB_MAVEN_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
102103 with :
103104 build-root-directory : ../groovy
104105 arguments : |
@@ -142,6 +143,7 @@ jobs:
142143 GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
143144 GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
144145 GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
146+ GITHUB_MAVEN_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
145147 with :
146148 arguments : |
147149 build
Original file line number Diff line number Diff line change 3434 # Otherwise:
3535 - name : Export Gradle Properties
3636 if : steps.check_release_drafter.outputs.has_release_drafter == 'false'
37- uses : micronaut-projects /github-actions/export-gradle-properties@master
38- - uses : micronaut-projects /github-actions/release-notes@master
37+ uses : grails /github-actions/export-gradle-properties@main
38+ - uses : grails /github-actions/release-notes@main
3939 if : steps.check_release_drafter.outputs.has_release_drafter == 'false'
4040 id : release_notes
4141 with :
Original file line number Diff line number Diff line change 2121 run : echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
2222
2323 - name : Run pre-release
24- uses : micronaut-projects /github-actions/pre-release@master
24+ uses : grails /github-actions/pre-release@main
2525
2626 - name : Generate secring file
2727 env :
3838 SONATYPE_STAGING_PROFILE_ID : ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
3939 SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
4040 SIGNING_PASSPHRASE : ${{ secrets.SIGNING_PASSPHRASE }}
41+ GITHUB_MAVEN_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
4142 with :
4243 arguments : |
4344 -Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg
5455
5556 - name : Publish Documentation to Github Pages
5657 if : success()
57- uses : micronaut-projects /github-pages-deploy-action@grails
58+ uses : grails /github-pages-deploy-action@grails
5859 env :
5960 TARGET_REPOSITORY : ${{ github.repository }}
6061 GH_TOKEN : ${{ secrets.GH_TOKEN }}
6768
6869 - name : Run post-release
6970 if : steps.publish_to_sonatype.outcome == 'success'
70- uses : micronaut-projects /github-actions/post-release@master
71+ uses : grails /github-actions/post-release@main
Original file line number Diff line number Diff line change @@ -41,6 +41,16 @@ subprojects {
4141 url = ' https://groovy.jfrog.io/artifactory/libs-snapshot-local/'
4242 }
4343 }
44+ if (System . getenv(" GITHUB_MAVEN_PASSWORD" ) && ! grailsVersion. endsWith(' -SNAPSHOT' )) {
45+ System . out. println (" Adding Grails Core Repo" )
46+ maven {
47+ url = ' https://maven.pkg.github.com/grails/grails-core'
48+ credentials {
49+ username = ' DOES_NOT_MATTER'
50+ password = System . getenv(" GITHUB_MAVEN_PASSWORD" )
51+ }
52+ }
53+ }
4454 }
4555
4656 dependencies {
Original file line number Diff line number Diff line change 11[versions ]
22gpars = ' 1.2.1'
3- grails = ' 7.0.0-SNAPSHOT '
3+ grails = ' 7.0.0-M1 '
44groovy = ' 4.0.24'
55gorm = ' 9.0.0-SNAPSHOT'
66micronaut-http-client = ' 4.6.5'
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dependencies {
1212 api libs. grails. datastore. core
1313 api libs. spring. context
1414
15- implementation libs. grails. datastore. gorm, {
15+ compileOnly libs. grails. datastore. gorm, {
1616 // TODO: Explain why this exclusion is done
1717 exclude group : ' org.grails' , module : ' grails-datastore-gorm-validation'
1818 }
@@ -23,6 +23,11 @@ dependencies {
2323 implementation libs. spring. tx
2424 implementation libs. jakarta. annotation. api
2525
26+ testImplementation libs. grails. datastore. gorm, {
27+ // TODO: Explain why this exclusion is done
28+ exclude group : ' org.grails' , module : ' grails-datastore-gorm-validation'
29+ }
30+
2631 testImplementation libs. grails. datastore. gorm. test, {
2732 // TODO: Explain why this exclusion is done (I don't know)
2833 exclude group : ' org.grails' , module : ' grails-datastore-gorm-validation'
You can’t perform that action at this time.
0 commit comments