2024-01-05 04:19:44 +00:00
|
|
|
name: Build TurnBasedMC and store Artifact
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-and-store-artifact:
|
|
|
|
runs-on: archLinux
|
|
|
|
steps:
|
|
|
|
- run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/TurnBasedMinecraftMod.git TBMM
|
|
|
|
- run: cd TBMM && git checkout master
|
|
|
|
- run: cd TBMM && ./gradlew build
|
2024-01-05 04:22:02 +00:00
|
|
|
- run: cd TBMM/build/libs && java --version >> javaVersion.txt && javac --version >> javaVersion.txt && find . -type f -exec bash -c 'sha256sum {} >> sha256sums.txt' ';'
|
2024-01-05 04:19:44 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: built-jars-and-metadata
|
|
|
|
path: TBMM/build/libs/
|