diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 7122b2aa..fb29ce8f 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -1,7 +1,6 @@ name: Publish To Maven on: - release: - types: [created] + - release jobs: gradle: runs-on: ubuntu-latest diff --git a/build.gradle b/build.gradle index 100afa10..3c10aa5d 100644 --- a/build.gradle +++ b/build.gradle @@ -144,7 +144,8 @@ publishing { repositories { maven { name = "MineLittlePony" - url = "s3://repo.minelittlepony-mod.com/maven/${version.version.stage.value.name == 'beta' ? 'snapshot' : 'release'}" + def stage = version.version.stage.value + url = "s3://repo.minelittlepony-mod.com/maven/${stage != null && stage.name == 'beta' ? 'snapshot' : 'release'}" credentials(AwsCredentials) { accessKey = System.env.ACCESS_KEY secretKey = System.env.SECRET_KEY diff --git a/gradle.properties b/gradle.properties index f04f5d3d..a596dbf4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,6 +16,6 @@ org.gradle.daemon=false # Dependencies modmenu_version=2.0.0-beta.7 - kirin_version=1.9.0-beta.2 - hd_skins_version=6.4.7-beta.1 - mson_version=1.4.0-beta.4 + kirin_version=1.9.1 + hd_skins_version=6.4.8 + mson_version=1.4.0