This repository was archived by the owner on Mar 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
- name : Publish package to GitHub Packages
1
+ name : Publish package to CloudSmith Maven
2
2
on :
3
3
workflow_dispatch :
4
4
release :
23
23
chmod +x gradlew
24
24
./gradlew publish
25
25
env :
26
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ CLOUDSMITH_MAVEN_TOKEN : ${{ secrets.CLOUDSMITH_MAVEN_TOKEN }}
Original file line number Diff line number Diff line change @@ -75,11 +75,14 @@ publishing {
75
75
// The repositories here will be used for publishing your artifact, not for
76
76
// retrieving dependencies.
77
77
maven {
78
- name = " GitHubPackages"
79
- url = " https://maven.pkg.github.com/texblock/foxifiednetworking"
78
+ name = " cloudsmith"
79
+ url = " https://maven.cloudsmith.io/thinkingstudio/foxifiednetworking/"
80
+ def releasesRepoUrl = " https://maven.cloudsmith.io/thinkingstudio/foxifiednetworking/"
81
+ def snapshotsRepoUrl = " https://maven.cloudsmith.io/thinkingstudio/foxifiednetworking/"
82
+ url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
80
83
credentials {
81
- username = System . getenv( " GITHUB_ACTOR " )
82
- password = System . getenv(" GITHUB_TOKEN " )
84
+ username = ' tex-true '
85
+ password = System . getenv(" CLOUDSMITH_MAVEN_TOKEN " )
83
86
}
84
87
}
85
88
}
You can’t perform that action at this time.
0 commit comments