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 +32
-1
lines changed Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish package to GitHub Packages
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ publish :
7
+ runs-on : ubuntu-latest
8
+ permissions :
9
+ contents : read
10
+ packages : write
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-java@v4
14
+ with :
15
+ java-version : ' 21'
16
+ distribution : ' temurin'
17
+ - name : Setup Gradle
18
+ uses : gradle/actions/setup-gradle@v4
19
+
20
+ - name : Publish package
21
+ run : ./gradlew publish
22
+ env :
23
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -74,5 +74,13 @@ 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 = " GitHubPackages"
79
+ url = " https://maven.pkg.github.com/TexBlock/FoxifiedNetworking"
80
+ credentials {
81
+ username = ' TexBlock'
82
+ password = project. findProperty(" gpr.key" ) ?: System . getenv(" GITHUB_TOKEN" )
83
+ }
84
+ }
77
85
}
78
86
}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G
3
3
loom.platform = neoforge
4
4
5
5
# Mod properties
6
- mod_version = 0.1.0-alpha1
6
+ mod_version = 0.1.0-alpha2
7
7
maven_group = me.textrue.foxified_networking
8
8
archives_name = FoxifiedNetworkingAPI
9
9
You can’t perform that action at this time.
0 commit comments