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" } }