Skip to content

Commit 1ccf8a0

Browse files
UPDATED THE REPOSITORY FOR SUPPORT FOR BOTH 1.19.2 AND 1.19.3
1 parent f7c72bd commit 1ccf8a0

File tree

2 files changed

+48
-48
lines changed

2 files changed

+48
-48
lines changed

.github/workflows/build.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
name: "Build Release"
2-
on: push
3-
jobs:
4-
build:
5-
runs-on: ubuntu-latest
6-
steps:
7-
- { uses: actions/checkout@v2, with: { fetch-depth: 0 } }
8-
- {
9-
name: "Set up JDK 17",
10-
uses: actions/setup-java@v2,
11-
with: { distribution: "temurin", java-version: "17" },
12-
}
13-
- {
14-
name: "Build with Gradle",
15-
id: build,
16-
run: "chmod +x gradlew && ./gradlew build publish",
17-
}
18-
- name: Create Release
19-
id: create_release
20-
uses: actions/create-release@v1
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
23-
with:
24-
tag_name: ${{ steps.build.outputs.version }}
25-
release_name: Release registry-lib-${{ steps.build.outputs.version }}
26-
- name: Upload Release Asset
27-
id: upload-release-asset
28-
uses: actions/upload-release-asset@v1
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
with:
32-
upload_url: ${{ steps.create_release.outputs.upload_url }}
33-
asset_path: "build/libs/registry-lib-${{ steps.build.outputs.version }}.jar"
34-
asset_name: "registry-lib-${{ steps.build.outputs.version }}.jar"
35-
asset_content_type: application/java-archive
36-
- name: Upload to CurseForge
37-
uses: itsmeow/[email protected]
38-
with:
39-
file_path: "build/libs/registry-lib-${{ steps.build.outputs.version }}.jar"
40-
game_endpoint: "minecraft"
41-
relations: "fabric-api:requiredDependency,modmenu:optionalDependency"
42-
token: ${{ secrets.CF_API_TOKEN }}
43-
game_version: "Minecraft 1.19:1.19.3,Java 17,Fabric,Client,Server"
44-
#project_id: ""
1+
#name: "Build Release"
2+
#on: push
3+
#jobs:
4+
# build:
5+
# runs-on: ubuntu-latest
6+
# steps:
7+
# - { uses: actions/checkout@v2, with: { fetch-depth: 0 } }
8+
# - {
9+
# name: "Set up JDK 17",
10+
# uses: actions/setup-java@v2,
11+
# with: { distribution: "temurin", java-version: "17" },
12+
# }
13+
# - {
14+
# name: "Build with Gradle",
15+
# id: build,
16+
# run: "chmod +x gradlew && ./gradlew build publish",
17+
# }
18+
# - name: Create Release
19+
# id: create_release
20+
# uses: actions/create-release@v1
21+
# env:
22+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
23+
# with:
24+
# tag_name: ${{ steps.build.outputs.version }}
25+
# release_name: Release registry-lib-${{ steps.build.outputs.version }}
26+
# - name: Upload Release Asset
27+
# id: upload-release-asset
28+
# uses: actions/upload-release-asset@v1
29+
# env:
30+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
# with:
32+
# upload_url: ${{ steps.create_release.outputs.upload_url }}
33+
# asset_path: "build/libs/registry-lib-${{ steps.build.outputs.version }}.jar"
34+
# asset_name: "registry-lib-${{ steps.build.outputs.version }}.jar"
35+
# asset_content_type: application/java-archive
36+
# - name: Upload to CurseForge
37+
# uses: itsmeow/[email protected]
38+
# with:
39+
# file_path: "build/libs/registry-lib-${{ steps.build.outputs.version }}.jar"
40+
# game_endpoint: "minecraft"
41+
# relations: "fabric-api:requiredDependency,modmenu:optionalDependency"
42+
# token: ${{ secrets.CF_API_TOKEN }}
43+
# game_version: "Minecraft 1.19:1.19.3,Java 17,Fabric,Client,Server"
44+
# #project_id: ""

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G
33
org.gradle.daemon=false
44
# Fabric Properties
55
# check these on https://fabricmc.net/develop/
6-
minecraft_version=1.19.2
7-
yarn_mappings=1.19.2+build.28
8-
loader_version=0.14.12
6+
minecraft_version=1.19.3
7+
yarn_mappings=1.19.3+build.5
8+
loader_version=0.14.13
99
# Mod Properties
1010
mod_version=1.19.2-1.0.1
1111
maven_group=io.github.codecraftplugin
1212
archives_base_name=registry-lib
1313
# Dependencies
1414
# check this on https://fabricmc.net/develop/
1515
#Fabric api
16-
fabric_version=0.70.0+1.19.2
16+
fabric_version=0.73.0+1.19.3
1717

0 commit comments

Comments
 (0)