This repository was archived by the owner on Mar 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +40
-3
lines changed Expand file tree Collapse file tree 3 files changed +40
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish package to CloudSmith Maven
2
+ on :
3
+ workflow_dispatch :
4
+ release :
5
+ types : [published]
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ permissions :
10
+ contents : read
11
+ packages : write
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : actions/setup-java@v4
15
+ with :
16
+ java-version : ' 21'
17
+ distribution : ' temurin'
18
+ - name : Setup Gradle
19
+ uses : gradle/actions/setup-gradle@v4
20
+
21
+ - name : Publish package
22
+ run : |
23
+ chmod +x gradlew
24
+ ./gradlew publish
25
+ env :
26
+ CLOUDSMITH_MAVEN_TOKEN : ${{ secrets.CLOUDSMITH_MAVEN_TOKEN }}
Original file line number Diff line number Diff line change @@ -74,5 +74,16 @@ publishing {
74
74
// Notice: This block does NOT have the same function as the block in the top level.
75
75
// The repositories here will be used for publishing your artifact, not for
76
76
// retrieving dependencies.
77
+ maven {
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
83
+ credentials {
84
+ username = ' tex-true'
85
+ password = System . getenv(" CLOUDSMITH_MAVEN_TOKEN" )
86
+ }
87
+ }
77
88
}
78
89
}
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
3
3
loom.platform = neoforge
4
4
5
5
# Mod properties
6
- mod_version = 0.1.0-alpha1
7
- maven_group = me.textrue.foxified_networking
8
- archives_name = FoxifiedNetworkingAPI
6
+ mod_version = 0.1.0-alpha2
7
+ maven_group = me.textrue.foxified
8
+ archives_name = foxified-networking-api
9
9
10
10
# Minecraft properties
11
11
minecraft_version = 1.21.3
You can’t perform that action at this time.
0 commit comments