Compare commits

...

3 commits

Author SHA1 Message Date
63fb52e75f Fix artifact name of neoforge build action
Some checks are pending
Build TurnBasedMC and store Artifact / build-and-store-artifact (push) Waiting to run
2024-01-05 16:34:31 +09:00
4881f056f5 Output sha256sum of jars in action 2024-01-05 16:32:18 +09:00
3cc138dd47 Change repo clone dir name in action 2024-01-05 16:32:05 +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 neoforge - run: cd TurnBasedMinecraftMod && git checkout neoforge
- 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_NeoForge_jars_sha256sums name: TBMM_NeoForge_jars_sha256sums
path: TBMM/build/libs/ path: TurnBasedMinecraftMod/build/libs/