Compare commits
2 commits
c8e405f685
...
75b710c3d4
Author | SHA1 | Date | |
---|---|---|---|
75b710c3d4 | |||
0c5e823839 |
2 changed files with 20 additions and 1 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:
|
||||||
|
branches:
|
||||||
|
- 'neoforge'
|
||||||
|
|
||||||
|
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 neoforge
|
||||||
|
- run: cd TurnBasedMinecraftMod && sed -i '/org.gradle.jvmargs/s/Xmx[0-9]\+m/Xmx2048m/' 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_NeoForge_jars_sha256sums
|
||||||
|
path: TurnBasedMinecraftMod/build/libs/
|
|
@ -113,7 +113,7 @@ jar {
|
||||||
"Specification-Title": "TurnBasedMinecraftMod",
|
"Specification-Title": "TurnBasedMinecraftMod",
|
||||||
"Specification-Vendor": "TurnBasedMinecraftMod_BK",
|
"Specification-Vendor": "TurnBasedMinecraftMod_BK",
|
||||||
"Specification-Version": "1", // We are version 1 of ourselves
|
"Specification-Version": "1", // We are version 1 of ourselves
|
||||||
"Implementation-Title": project.name,
|
"Implementation-Title": "TurnBasedMinecraftMod",
|
||||||
"Implementation-Version": "${version}",
|
"Implementation-Version": "${version}",
|
||||||
"Implementation-Vendor" :"TurnBasedMinecraftMod_BK",
|
"Implementation-Vendor" :"TurnBasedMinecraftMod_BK",
|
||||||
// Do not place timestamp for the sake of reproducible builds
|
// Do not place timestamp for the sake of reproducible builds
|
||||||
|
|
Loading…
Reference in a new issue