Compare commits

...

2 commits

Author SHA1 Message Date
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

View file

@ -8,12 +8,12 @@ jobs:
build-and-store-artifact: build-and-store-artifact:
runs-on: archLinux runs-on: archLinux
steps: steps:
- run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/TurnBasedMinecraftMod.git TBMM - run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/TurnBasedMinecraftMod.git TurnBasedMinecraftMod
- run: cd TBMM && git checkout master - run: cd TurnBasedMinecraftMod && git checkout master
- run: cd TBMM && 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/Xmx700m/' gradle.properties
- run: cd TBMM && ./gradlew --console=plain build - run: cd TurnBasedMinecraftMod && ./gradlew --console=plain build
- run: cd TBMM/build/libs && find . -type f -exec bash -c 'sha256sum {} >> sha256sums.txt' ';' && java --version >> javaVersion.txt && javac --version >> javaVersion.txt - 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 - uses: actions/upload-artifact@v3
with: with:
name: TBMM_Forge_jars_sha256sums name: TBMM_Forge_jars_sha256sums
path: TBMM/build/libs/ path: TurnBasedMinecraftMod/build/libs/