From bae53f59638554218d8ea2d98374afd348412ca5 Mon Sep 17 00:00:00 2001 From: Len Bucchino Date: Sat, 29 Apr 2023 16:57:45 -0500 Subject: [PATCH] working on build --- .github/workflows/gradle-publish.yml | 2 ++ build.gradle | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 7895b47d0..a57cac8d1 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -9,6 +9,8 @@ name: Gradle Package on: workflow_dispatch: + release: + types: [created] jobs: build: diff --git a/build.gradle b/build.gradle index a8790d4e0..3f1ee3ea6 100644 --- a/build.gradle +++ b/build.gradle @@ -244,9 +244,6 @@ publishing { } } repositories { - maven { - url "file://${project.projectDir}/mcmodsrepo" - } maven { name = "GitHubPackages" url = "https://maven.pkg.github.com/iron431/Irons-Spells-n-Spellbooks" @@ -255,6 +252,9 @@ publishing { password = System.getenv("TOKEN") } } + maven { + url "file://${project.projectDir}/mcmodsrepo" + } } }