Skip to content

Commit 4ba4279

Browse files
committed
Add GH packages publishing back in, version bump to alpha 8
1 parent 70f3bc6 commit 4ba4279

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/tagged-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@ jobs:
188188
id: filename
189189
run: echo "::set-output name=fullpath::buildfiles/${{ needs.vars.outputs.mod_id }}-${{ needs.vars.outputs.mod_version }}.jar"
190190

191+
- name: Publish package
192+
run: gradle publish
193+
env:
194+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
195+
191196
- name: Create CurseForge Release
192197
uses: itsmeow/curseforge-upload@master
193198
with:

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ archivesBaseName = mod_id
2626
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
2727

2828
sourceSets {
29-
main{
29+
main {
3030
resources {
3131
srcDir 'src/generated/resources'
3232
}
@@ -208,14 +208,16 @@ artifacts {
208208

209209
publishing {
210210
publications {
211-
mavenJava(MavenPublication) {
211+
maven(MavenPublication) {
212212
artifact jar
213+
artifact apiJar
213214
}
214215
}
215216
repositories {
217+
// GitHub Packages
216218
maven {
217219
name = "GitHubPackages"
218-
url = "https://maven.pkg.github.com/robotgryphon/compact-machines"
220+
url = "https://maven.pkg.github.com/compactmods/compactmachines"
219221
credentials {
220222
username = System.getenv("GITHUB_ACTOR")
221223
password = System.getenv("GITHUB_TOKEN")

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ org.gradle.jvmargs=-Xmx3G
44
org.gradle.daemon=false
55

66
minecraft_version=1.16.4
7-
forge_version=35.1.13
7+
forge_version=35.1.37
88
mappings_version=20201028-1.16.3
99

1010
mod_id=compactmachines
11-
mod_version=4.0.0-alpha.7
11+
mod_version=4.0.0-alpha.8
1212

1313
# Dependencies and Libs
1414
jei_version=7.6.0.58

0 commit comments

Comments
 (0)