File tree 5 files changed +16
-10
lines changed
5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
paths :
5
5
- " sr/os-loc-alpine-lc"
6
- - " sr/ver_LunarCore-Private-3.0 .0"
6
+ - " sr/ver_LunarCore-Private-3.1 .0"
7
7
- " sr/run.sh"
8
8
- " sr/entrypoint_lc.sh"
9
9
- " .github/workflows/yuukips.yml"
17
17
uses : actions/checkout@v3
18
18
with :
19
19
repository : YuukiPS/LunarCore-Private
20
- ref : " 3.0 .0"
20
+ ref : " 3.1 .0"
21
21
token : ${{ secrets.HUB_TOKEN }} # tes
22
22
path : sr/LunarCore-Private
23
23
- name : Setup Java
35
35
username : ${{secrets.DOCKER_USER_PRIVATE_GITLAB}}
36
36
password : ${{secrets.DOCKER_PASSWORD_PRIVATE_GITLAB}}
37
37
- name : Build Local Jar
38
- run : cd sr && chmod +x run.sh && sh run.sh alpine build 11 docker_action
38
+ run : cd sr && chmod +x run.sh && sh run.sh alpine build 12 docker_action
39
39
- name : Build Image Docker and Push
40
40
uses : docker/build-push-action@v3
41
41
with :
Original file line number Diff line number Diff line change 1
1
# DockerSR
2
2
DockerSR is a container that run LunarCore with just a single command.<br >
3
- ./run.sh local build 11 <br >
4
- ./run.sh local run 11 <br >
3
+ ./run.sh local build 12 <br >
4
+ ./run.sh local run 12 <br >
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ cd $folder_sr
131
131
OSVS=$( . /etc/os-release && printf ' %s\n' " $NAME " )
132
132
SUB=" Alpine"
133
133
version=$( cat ver)
134
- version_res=" 3.0.0-LC "
134
+ version_res=" 3.1.0 "
135
135
resmd5=" e7754c155a4668606fc3695aced65717" # TODO: auto update md5 if res update
136
136
137
137
# Switch RS
@@ -156,6 +156,8 @@ elif echo "$version" | grep -F -w "2.6.0"; then
156
156
elif echo " $version " | grep -F -w " 2.7.0" ; then
157
157
version_res=" 2.7.0-LC"
158
158
elif echo " $version " | grep -F -w " 3.0.0" ; then
159
+ version_res=" 3.0.0"
160
+ elif echo " $version " | grep -F -w " 3.1.0" ; then
159
161
echo " use last"
160
162
fi
161
163
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ useMetode="build"
16
16
useResFolder=" SR_Resources"
17
17
useProject=" LunarCore-Private"
18
18
useShortProject=" dockersr" # name in commet
19
- useBranchesProject=" 3.0 .0"
20
- useBranchesRes=" 3.0.0-LC "
19
+ useBranchesProject=" 3.1 .0"
20
+ useBranchesRes=" 3.1.0 "
21
21
22
22
# Version Control by User, skip if version_action
23
23
if [ " $2 " != " version_action" ]; then
@@ -56,6 +56,9 @@ if [ "$2" != "version_action" ]; then
56
56
useBranchesProject=" 2.7.0"
57
57
useBranchesRes=" 2.7.0-LC"
58
58
elif [ " $versioncontrol " = " 11" ]; then # 3.0.0 (private)
59
+ useBranchesProject=" 3.0.0"
60
+ useBranchesRes=" 3.0.0"
61
+ elif [ " $versioncontrol " = " 12" ]; then # 3.1.0 (private)
59
62
echo " main project"
60
63
fi
61
64
72
75
build_game=" $useProject /.gradle $useProject /bin $useProject /build $useProject /src/generated"
73
76
# $useProject/src/generated
74
77
# $useProject/logs $useProject/resources $useProject/config.json $useProject/plugins
75
- echo " tes"
76
- ls $useProject /src/generated/main/emu/lunarcore/proto
78
+ # echo "tes"
79
+ # s $useProject/src/generated/main/emu/lunarcore/proto
77
80
78
81
# Version
79
82
version_pjhash=" unknown"
Original file line number Diff line number Diff line change
1
+ e29280a
You can’t perform that action at this time.
0 commit comments