25 Commits

Author SHA1 Message Date
cf267a959d ender armor
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m16s
Build Minecraft Mod / release (push) Successful in 17s
2026-04-14 13:22:11 +02:00
73a172c9bd fix capes, chorus patch, and other
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m9s
Build Minecraft Mod / release (push) Successful in 31s
2026-04-14 09:13:51 +02:00
98f01f61c4 data generator fix, other fixes too
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m4s
Build Minecraft Mod / release (push) Successful in 15s
2026-04-13 18:14:55 +02:00
bcc90e5593 super diamond and apple
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m39s
Build Minecraft Mod / release (push) Successful in 17s
2026-04-13 16:38:52 +02:00
b476d156dc capes url update 2026-04-13 16:38:30 +02:00
6b355a1f47 orban
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m2s
Build Minecraft Mod / release (push) Successful in 15s
2026-04-13 11:24:11 +02:00
c79d223f7e remove run
All checks were successful
Build Minecraft Mod / build (push) Successful in 3m59s
Build Minecraft Mod / release (push) Successful in 16s
2026-04-13 10:48:59 +02:00
790ebd2535 obsidian cube and ender update
Some checks failed
Build Minecraft Mod / build (push) Has started running
Build Minecraft Mod / release (push) Has been cancelled
2026-04-13 10:43:28 +02:00
994d2b961b update version number, add gitignore and switch usercosmetics jsons to correct url
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m8s
Build Minecraft Mod / release (push) Successful in 18s
2026-04-01 14:11:46 +02:00
77f71be086 remove build dir
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m25s
Build Minecraft Mod / release (push) Successful in 17s
2026-04-01 13:27:56 +02:00
169e9eff08 Update src/main/java/dev/tggamesyt/szar/mixin/PlayerAdvancementTrackerMixin.java
Some checks failed
Build Minecraft Mod / release (push) Has been cancelled
Build Minecraft Mod / build (push) Has been cancelled
2026-04-01 11:24:20 +00:00
5dcf4fc221 Update src/client/java/dev/tggamesyt/szar/client/mixin/MouseFlipMixin.java
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m8s
Build Minecraft Mod / release (push) Successful in 20s
2026-04-01 11:09:28 +00:00
34b8fccf24 april
Some checks failed
Build Minecraft Mod / build (push) Failing after 2m35s
Build Minecraft Mod / release (push) Has been skipped
2026-04-01 09:24:48 +02:00
62ad19516b Trying to fix the issue where it gives a lot of files instead of one. #2
All checks were successful
Build Minecraft Mod / build (push) Successful in 3m55s
Build Minecraft Mod / release (push) Successful in 17s
2026-03-31 16:41:54 +00:00
c3eb514db7 Trying to fix the issue where it gives a lot of files instead of one.
All checks were successful
Build Minecraft Mod / build (push) Successful in 3m58s
Build Minecraft Mod / release (push) Successful in 18s
2026-03-31 16:35:13 +00:00
4bc0779967 Update .gitea/workflows/build.yml
All checks were successful
Build Minecraft Mod / build (push) Successful in 3m57s
Build Minecraft Mod / release (push) Successful in 18s
2026-03-31 16:28:12 +00:00
ab32bc230e fahhh
Some checks failed
Build Minecraft Mod / build (push) Successful in 4m26s
Build Minecraft Mod / release (push) Failing after 17s
2026-03-31 17:11:41 +02:00
034fac759c only upload the correct jar file
Some checks failed
Build Minecraft Mod / build (push) Successful in 3m57s
Build Minecraft Mod / release (push) Failing after 17s
2026-03-31 17:05:57 +02:00
aa07b71ed1 no sudo
All checks were successful
Build Minecraft Mod / build (push) Successful in 4m1s
Build Minecraft Mod / release (push) Successful in 17s
2026-03-31 16:53:53 +02:00
20027a974a Use less ram and cpu power
Some checks failed
Build Minecraft Mod / build (push) Successful in 3m49s
Build Minecraft Mod / release (push) Failing after 12s
2026-03-31 14:47:22 +00:00
539e4ad637 release making
Some checks failed
Build Minecraft Mod / release (push) Has been cancelled
Build Minecraft Mod / build (push) Has been cancelled
2026-03-31 16:24:08 +02:00
1313fd97db gradle
Some checks failed
Build Minecraft Mod / build (push) Failing after 4m52s
Build Minecraft Mod / release (push) Has been skipped
2026-03-31 16:21:24 +02:00
b9393d179e gitea
Some checks failed
Build Minecraft Mod / build (push) Failing after 1m4s
Build Minecraft Mod / release (push) Has been skipped
2026-03-31 16:19:15 +02:00
5a42ec1e9e gradlew
Some checks failed
Build Minecraft Mod / build (push) Failing after 10s
Build Minecraft Mod / release (push) Has been skipped
2026-03-31 16:18:03 +02:00
245f5ea035 here we go again
Some checks failed
Build Minecraft Mod / build (push) Failing after 12s
Build Minecraft Mod / release (push) Has been skipped
2026-03-31 16:09:38 +02:00
421 changed files with 1335 additions and 4183 deletions

View File

@@ -18,11 +18,19 @@ jobs:
distribution: temurin
java-version: 21
- name: Ensure Gradle wrapper exists
run: |
if [ ! -f "./gradlew" ]; then
echo "ERROR: gradlew not found in repository!"
echo "Please run 'gradle wrapper' locally and push the files."
exit 1
fi
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build mod
run: ./gradlew build
run: ./gradlew build --no-daemon --max-workers=1 -Dorg.gradle.jvmargs="-Xmx1g -XX:MaxMetaspaceSize=256m"
- name: Read mod info
id: mod_info
@@ -67,16 +75,22 @@ jobs:
path: ./release-artifacts/
- name: Install jq
run: sudo apt-get update && sudo apt-get install -y jq
run: apt-get update && apt-get install -y jq
- name: Read mod info again
- name: Read mod info from gradle.properties
id: mod_info
run: |
NAME=$(grep "^archives_base_name" gradle.properties | cut -d'=' -f2)
VERSION=$(grep "^mod_version" gradle.properties | cut -d'=' -f2)
if [ -z "$NAME" ] || [ -z "$VERSION" ]; then
echo "Failed to read mod info"
exit 1
fi
JAR="${NAME}-${VERSION}.jar"
echo "NAME=$NAME" >> $GITEA_ENV
echo "VERSION=$VERSION" >> $GITEA_ENV
echo "JAR=$JAR" >> $GITEA_ENV
- name: Determine tag
run: |
BASE="${NAME}-${VERSION}"
@@ -99,14 +113,12 @@ jobs:
echo "TAG=$TAG" >> $GITEA_ENV
- name: Create release
run: |
curl -X POST "${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases" \
-H "Authorization: token ${{ secrets.GITEATOKEN }}" \
-H "Content-Type: application/json" \
-d "{
\"tag_name\": \"${TAG}\",
\"name\": \"${TAG}\"
}"
uses: softprops/action-gh-release@v1
with:
files: build/libs/*.jar
tag_name: ${{ env.TAG }}
env:
GITHUB_TOKEN: ${{ secrets.GITEATOKEN }}
- name: Get release ID
run: |
@@ -117,12 +129,20 @@ jobs:
echo "RELEASE_ID=$RELEASE_ID" >> $GITEA_ENV
- name: Upload jar to release
- name: Upload the mod JAR
run: |
FILE=$(ls ./release-artifacts/*.jar | head -n 1)
# Find the largest JAR file (the main mod file is 120 MiB, others are KiB)
JAR_FILE=$(ls -S ./release-artifacts/*.jar | head -n 1)
if [ ! -f "$JAR_FILE" ]; then
echo "Error: Main JAR not found in ./release-artifacts/"
exit 1
fi
echo "Uploading largest file: $(basename $JAR_FILE)"
curl -X POST \
-H "Authorization: token ${{ secrets.GITEATOKEN }}" \
-H "Content-Type: application/java-archive" \
--data-binary @"$FILE" \
"${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases/${RELEASE_ID}/assets?name=$(basename $FILE)"
--data-binary @"$JAR_FILE" \
"${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases/${RELEASE_ID}/assets?name=$(basename $JAR_FILE)"

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
build/
run/
.idea/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More