This repository was archived by the owner on May 28, 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:
17
17
- uses : gradle/wrapper-validation-action@v2
18
18
- uses : actions/setup-java@v4
19
19
with :
20
- distribution : temurin
20
+ distribution : liberica
21
21
java-version : 17
22
22
- name : Run Gradle build
23
23
uses : gradle/actions/setup-gradle@v3
24
24
env :
25
25
GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
26
+ GITHUB_MAVEN_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
26
27
with :
27
28
arguments : build
28
29
publish_documentation :
35
36
- uses : gradle/wrapper-validation-action@v2
36
37
- uses : actions/setup-java@v4
37
38
with :
38
- distribution : temurin
39
+ distribution : liberica
39
40
java-version : 17
40
41
- name : Publish to Artifactory (repo.grails.org)
41
42
uses : gradle/actions/setup-gradle@v3
56
57
arguments : docs
57
58
- name : Publish to Github Pages
58
59
if : success()
59
- uses : micronaut-projects /github-pages-deploy-action@grails
60
+ uses : grails /github-pages-deploy-action@grails
60
61
env :
61
62
TARGET_REPOSITORY : ${{ github.repository }}
62
63
GH_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 99
99
GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
100
100
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
101
101
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
102
+ GITHUB_MAVEN_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
102
103
with :
103
104
build-root-directory : ../groovy
104
105
arguments : |
@@ -142,6 +143,7 @@ jobs:
142
143
GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
143
144
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
144
145
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
146
+ GITHUB_MAVEN_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
145
147
with :
146
148
arguments : |
147
149
build
Original file line number Diff line number Diff line change 34
34
# Otherwise:
35
35
- name : Export Gradle Properties
36
36
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
39
39
if : steps.check_release_drafter.outputs.has_release_drafter == 'false'
40
40
id : release_notes
41
41
with :
Original file line number Diff line number Diff line change 21
21
run : echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
22
22
23
23
- name : Run pre-release
24
- uses : micronaut-projects /github-actions/pre-release@master
24
+ uses : grails /github-actions/pre-release@main
25
25
26
26
- name : Generate secring file
27
27
env :
38
38
SONATYPE_STAGING_PROFILE_ID : ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
39
39
SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
40
40
SIGNING_PASSPHRASE : ${{ secrets.SIGNING_PASSPHRASE }}
41
+ GITHUB_MAVEN_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
41
42
with :
42
43
arguments : |
43
44
-Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg
54
55
55
56
- name : Publish Documentation to Github Pages
56
57
if : success()
57
- uses : micronaut-projects /github-pages-deploy-action@grails
58
+ uses : grails /github-pages-deploy-action@grails
58
59
env :
59
60
TARGET_REPOSITORY : ${{ github.repository }}
60
61
GH_TOKEN : ${{ secrets.GH_TOKEN }}
67
68
68
69
- name : Run post-release
69
70
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 {
41
41
url = ' https://groovy.jfrog.io/artifactory/libs-snapshot-local/'
42
42
}
43
43
}
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
+ }
44
54
}
45
55
46
56
dependencies {
Original file line number Diff line number Diff line change 1
1
[versions ]
2
2
gpars = ' 1.2.1'
3
- grails = ' 7.0.0-SNAPSHOT '
3
+ grails = ' 7.0.0-M1 '
4
4
groovy = ' 4.0.24'
5
5
gorm = ' 9.0.0-SNAPSHOT'
6
6
micronaut-http-client = ' 4.6.5'
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dependencies {
12
12
api libs. grails. datastore. core
13
13
api libs. spring. context
14
14
15
- implementation libs. grails. datastore. gorm, {
15
+ compileOnly libs. grails. datastore. gorm, {
16
16
// TODO: Explain why this exclusion is done
17
17
exclude group : ' org.grails' , module : ' grails-datastore-gorm-validation'
18
18
}
@@ -23,6 +23,11 @@ dependencies {
23
23
implementation libs. spring. tx
24
24
implementation libs. jakarta. annotation. api
25
25
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
+
26
31
testImplementation libs. grails. datastore. gorm. test, {
27
32
// TODO: Explain why this exclusion is done (I don't know)
28
33
exclude group : ' org.grails' , module : ' grails-datastore-gorm-validation'
You can’t perform that action at this time.
0 commit comments