From bdfdb05f46e523cb44706a01222860ed31608950 Mon Sep 17 00:00:00 2001 From: 90 <90@national.shitposting.agency> Date: Tue, 20 Dec 2022 22:25:20 +0000 Subject: [PATCH] Add GH artifacts to release workflow --- .github/workflows/release.yml | 5 +++++ build.gradle | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50117255..fb88830a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,11 @@ jobs: env: MEGA_VERSION: ${{ github.event.release.tag_name }} run: ./gradlew build --max-workers 1 + - name: Upload Release Artifact + uses: softprops/action-gh-release@v1 + with: + files: build/libs/megacells-*.jar + tag_name: ${{ github.event.release.tag_name }} - name: Upload to mod repositories env: MEGA_VERSION: ${{ github.event.release.tag_name }} diff --git a/build.gradle b/build.gradle index fdc35884..f83c13ae 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ subprojects { apply plugin: "me.shedaniel.unified-publishing" archivesBaseName = mod_id + "-" + project.name - version = (System.getenv("MEGA_VERSION") ?: "v0.0.0").substring(1) + version = (System.getenv("MEGA_VERSION") ?: "v0.0.0").substring(1) + "-" + minecraft_version group = maven_group + "-" + mod_id loom { @@ -193,6 +193,7 @@ allprojects { if (project.name == "forge") { optional { curseforge = "applied-mekanistics" + curseforge = "applied-botanics-addon" modrinth = "applied-mekanistics" } }