Compare commits
15 Commits
szar-26.3.
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| cf267a959d | |||
| 73a172c9bd | |||
| 98f01f61c4 | |||
| bcc90e5593 | |||
| b476d156dc | |||
| 6b355a1f47 | |||
| c79d223f7e | |||
| 790ebd2535 | |||
| 994d2b961b | |||
| 77f71be086 | |||
| 169e9eff08 | |||
| 5dcf4fc221 | |||
| 34b8fccf24 | |||
| 62ad19516b | |||
| c3eb514db7 |
@@ -131,14 +131,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload the mod JAR
|
- name: Upload the mod JAR
|
||||||
run: |
|
run: |
|
||||||
# Use the artifact downloaded in the previous step
|
# Find the largest JAR file (the main mod file is 120 MiB, others are KiB)
|
||||||
JAR_FILE=$(ls ./release-artifacts/*.jar | head -n 1)
|
JAR_FILE=$(ls -S ./release-artifacts/*.jar | head -n 1)
|
||||||
|
|
||||||
if [ ! -f "$JAR_FILE" ]; then
|
if [ ! -f "$JAR_FILE" ]; then
|
||||||
echo "Error: JAR not found in ./release-artifacts/"
|
echo "Error: Main JAR not found in ./release-artifacts/"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Uploading largest file: $(basename $JAR_FILE)"
|
||||||
|
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: token ${{ secrets.GITEATOKEN }}" \
|
-H "Authorization: token ${{ secrets.GITEATOKEN }}" \
|
||||||
-H "Content-Type: application/java-archive" \
|
-H "Content-Type: application/java-archive" \
|
||||||
|
|||||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
Reference in New Issue
Block a user