Change repo clone dir name in action

This commit is contained in:
Stephen Seo 2024-01-05 16:27:27 +09:00
parent 8d15bbb593
commit 3cc138dd47

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 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_Forge_jars_sha256sums
path: TBMM/build/libs/ path: TurnBasedMinecraftMod/build/libs/