Compare commits

...

8 commits

Author SHA1 Message Date
c4a8664297 Fix tag wildcard in action .yaml 2024-01-05 17:06:04 +09:00
9daf5c139f Use action when tag is pushed 2024-01-05 16:37:24 +09:00
5168f8b346 Output sha256sum of jars in action
All checks were successful
Build TurnBasedMC and store Artifact / build-and-store-artifact (push) Successful in 3m45s
2024-01-05 16:29:02 +09:00
304c739a25 Change repo clone dir name in action 2024-01-05 16:27:27 +09:00
0d8699c420 Rename artifact name for buidl action
All checks were successful
Build TurnBasedMC and store Artifact / build-and-store-artifact (push) Successful in 4m24s
2024-01-05 15:45:39 +09:00
8ee3c99846 Update action to use less ram
All checks were successful
Build TurnBasedMC and store Artifact / build-and-store-artifact (push) Successful in 54s
2024-01-05 15:35:12 +09:00
e5beef7c98 Fix forgejo action (missing ';' for find cmd)
Some checks failed
Build TurnBasedMC and store Artifact / build-and-store-artifact (push) Failing after 14m30s
2024-01-05 13:22:02 +09:00
56353462f7 Add workflow to build jar and store as artifact
Some checks failed
Build TurnBasedMC and store Artifact / build-and-store-artifact (push) Has been cancelled
2024-01-05 13:19:44 +09:00

View file

@ -0,0 +1,19 @@
name: Build TurnBasedMC and store Artifact
on:
push:
tags:
- '*'
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 ${GITHUB_REF_NAME}
- run: cd TurnBasedMinecraftMod && sed -i '/org.gradle.jvmargs/s/Xmx[0-9]\+m/Xmx700m/' 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_Forge_jars_sha256sums
path: TurnBasedMinecraftMod/build/libs/