diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee27367..4ff8df4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,8 @@ on: jobs: build: - uses: Modflower/.github/workflows/mod-build.yml@main + uses: Modflower/workflows/.github/workflows/mod-build.yml@main with: artifacts: | - '*/build/libs/' + */build/libs/ + !buildSrc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2053a35..cc72c6a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,10 +5,17 @@ on: types: - published +permissions: + contents: write + jobs: build: - uses: Modflower/.github/workflows/mod-publish.yml@main + uses: Modflower/workflows/.github/workflows/mod-publish.yml@main with: artifacts: | - '*/build/libs/' + */build/libs/* + !buildSrc/* + !xplat/* + !*-sources.jar + !*-javadoc.jar secrets: inherit diff --git a/gradle.properties b/gradle.properties index 665b46e..7aa7144 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,5 +8,5 @@ github=https://github.com/Modflower/Genflower description=Worldgen & loot utilities for mods & datapacks. # Gradle & Loom hackery -org.gradle.jvmargs=-Xmx1G +org.gradle.jvmargs=-Xmx4G -XX:+UseCompressedOops fabric.loom.multiProjectOptimisation=true