Re-attempt build jar action
All checks were successful
Build TurnBasedMC and store Artifact / build-and-store-artifact (push) Successful in 5m36s

This commit is contained in:
Stephen Seo 2024-01-05 20:18:53 +09:00
parent 0c5e823839
commit 75b710c3d4

View file

@ -0,0 +1,19 @@
name: Build TurnBasedMC and store Artifact
on:
push:
branches:
- 'neoforge'
jobs:
build-and-store-artifact:
runs-on: archLinux
steps:
- run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/TurnBasedMinecraftMod.git TurnBasedMinecraftMod
- run: cd TurnBasedMinecraftMod && git checkout neoforge
- run: cd TurnBasedMinecraftMod && sed -i '/org.gradle.jvmargs/s/Xmx[0-9]\+m/Xmx2048m/' 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
- uses: actions/upload-artifact@v3
with:
name: TBMM_NeoForge_jars_sha256sums
path: TurnBasedMinecraftMod/build/libs/