File tree 5 files changed +9
-19
lines changed
refinedarchitect-versioning
5 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 98
98
- name : Publish to Maven
99
99
run : ./gradlew publish
100
100
env :
101
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
102
- CREEPERHOST_MAVEN_USERNAME : ${{ secrets.CREEPERHOST_MAVEN_USERNAME }}
103
- CREEPERHOST_MAVEN_TOKEN : ${{ secrets.CREEPERHOST_MAVEN_TOKEN }}
101
+ # https://docs.gradle.org/current/samples/sample_publishing_credentials.html#header
102
+ ORG_GRADLE_PROJECT_GitHubPackagesUsername : ${{ env.GITHUB_ACTOR }}
103
+ ORG_GRADLE_PROJECT_GitHubPackagesPassword : ${{ secrets.GITHUB_TOKEN }}
104
+ ORG_GRADLE_PROJECT_CreeperHostUsername : ${{ secrets.CREEPERHOST_MAVEN_USERNAME }}
105
+ ORG_GRADLE_PROJECT_CreeperHostPassword : ${{ secrets.CREEPERHOST_MAVEN_TOKEN }}
104
106
105
107
publish-javadoc :
106
108
name : Publish Javadoc
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Fixed
11
+
12
+ - Fixed publishing not working with the config cache.
13
+
10
14
## [ 0.19.0] - 2024-09-10
11
15
12
16
### Added
Original file line number Diff line number Diff line change @@ -38,10 +38,6 @@ publishing {
38
38
maven {
39
39
name = " GitHubPackages"
40
40
url = project.uri(" https://maven.pkg.github.com/" + System .getenv(" GITHUB_REPOSITORY" ))
41
- credentials {
42
- username = System .getenv(" GITHUB_ACTOR" )
43
- password = System .getenv(" GITHUB_TOKEN" )
44
- }
45
41
}
46
42
}
47
43
}
Original file line number Diff line number Diff line change @@ -103,18 +103,10 @@ open class BaseExtension(private val project: Project) {
103
103
maven {
104
104
name = " GitHubPackages"
105
105
url = project.uri(" https://maven.pkg.github.com/" + System .getenv(" GITHUB_REPOSITORY" ))
106
- credentials {
107
- username = System .getenv(" GITHUB_ACTOR" )
108
- password = System .getenv(" GITHUB_TOKEN" )
109
- }
110
106
}
111
107
maven {
112
108
name = " CreeperHost"
113
109
url = project.uri(" https://maven.creeperhost.net/release" )
114
- credentials {
115
- username = System .getenv(" CREEPERHOST_MAVEN_USERNAME" )
116
- password = System .getenv(" CREEPERHOST_MAVEN_TOKEN" )
117
- }
118
110
}
119
111
}
120
112
publications {
Original file line number Diff line number Diff line change @@ -46,10 +46,6 @@ publishing {
46
46
maven {
47
47
name = " GitHubPackages"
48
48
url = project.uri(" https://maven.pkg.github.com/" + System .getenv(" GITHUB_REPOSITORY" ))
49
- credentials {
50
- username = System .getenv(" GITHUB_ACTOR" )
51
- password = System .getenv(" GITHUB_TOKEN" )
52
- }
53
49
}
54
50
}
55
51
publications {
You can’t perform that action at this time.
0 commit comments