Compare commits
8 commits
da17601477
...
c4a8664297
Author | SHA1 | Date | |
---|---|---|---|
c4a8664297 | |||
9daf5c139f | |||
5168f8b346 | |||
304c739a25 | |||
0d8699c420 | |||
8ee3c99846 | |||
e5beef7c98 | |||
56353462f7 |
1 changed files with 19 additions and 0 deletions
19
.forgejo/workflows/build-jar.yaml
Normal file
19
.forgejo/workflows/build-jar.yaml
Normal 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/
|
Loading…
Reference in a new issue