From cc7ef71384ea8732596882b3f97d514bea9c911c Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 8 Jan 2024 14:58:35 +0900 Subject: [PATCH] Minor tweak to build-jar action --- .forgejo/workflows/build-jar.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-jar.yaml b/.forgejo/workflows/build-jar.yaml index 23a1649..81d29ca 100644 --- a/.forgejo/workflows/build-jar.yaml +++ b/.forgejo/workflows/build-jar.yaml @@ -10,7 +10,7 @@ jobs: steps: - run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/TurnBasedMinecraftMod.git TurnBasedMinecraftMod - run: cd TurnBasedMinecraftMod && git checkout ${GITHUB_REF_NAME} - - run: cd TurnBasedMinecraftMod && sed -i '/org.gradle.jvmargs/s/Xmx[0-9]\+m/Xmx700m/' gradle.properties + - run: cd TurnBasedMinecraftMod && sed -i '/org.gradle.jvmargs/s/Xmx[0-9]\+m/Xmx1024m/' gradle.properties - run: cd TurnBasedMinecraftMod && ./gradlew --console=plain build - run: cd TurnBasedMinecraftMod/build/libs && find . -type f -exec sha256sum '{}' ';' -exec bash -c 'sha256sum {} >> sha256sums.txt' ';' && java --version >> javaVersion.txt && javac --version >> javaVersion.txt - name: Create release and attach jar