File tree 9 files changed +115
-1
lines changed
9 files changed +115
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on : [workflow_dispatch]
4
+
5
+ jobs :
6
+ release :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout Repository
10
+ uses : actions/checkout@v4
11
+
12
+ - name : Setup Go
13
+ uses : actions/setup-go@v5
14
+ with :
15
+ go-version : " 1.22.1"
16
+ check-latest : true
17
+ cache : false # Not a go project, we abuse this to install packwiz
18
+
19
+ - name : Install Packwiz
20
+ run : go install github.com/packwiz/packwiz@latest
21
+
22
+ - name : Export Prism Pack
23
+ run : ./scripts/prism.sh
24
+
25
+ - name : Capture Prism Pack
26
+ uses : actions/upload-artifact@v4
27
+ with :
28
+ name : Artifacts
29
+ path : output
Original file line number Diff line number Diff line change 3
3
4
4
# Exclude exported Modrinth modpacks
5
5
* .mrpack
6
+
7
+ output /
Original file line number Diff line number Diff line change 1
- unsup/
1
+ prism/
2
+ scripts/
3
+ output/
4
+ .github/
5
+ README.md
6
+ packwiz.ini
7
+ unsup.ini
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ [General]
2
+ ConfigVersion =1.2
3
+ JvmArgs =-javaagent:unsup.jar
4
+ OverrideJavaArgs =true
5
+ MCLaunchMethod =LauncherPart
6
+ iconKey =railways_test
7
+ name =1.20 SnR and Numismatics Testing
Original file line number Diff line number Diff line change
1
+ {
2
+ "components" : [
3
+ {
4
+ "cachedName" : " LWJGL 3" ,
5
+ "cachedVersion" : " 3.3.1" ,
6
+ "cachedVolatile" : true ,
7
+ "dependencyOnly" : true ,
8
+ "uid" : " org.lwjgl3" ,
9
+ "version" : " 3.3.1"
10
+ },
11
+ {
12
+ "cachedName" : " Minecraft" ,
13
+ "cachedRequires" : [
14
+ {
15
+ "suggests" : " 3.3.1" ,
16
+ "uid" : " org.lwjgl3"
17
+ }
18
+ ],
19
+ "cachedVersion" : " 1.20.1" ,
20
+ "important" : true ,
21
+ "uid" : " net.minecraft" ,
22
+ "version" : " 1.20.1"
23
+ },
24
+ {
25
+ "cachedName" : " Intermediary Mappings" ,
26
+ "cachedRequires" : [
27
+ {
28
+ "equals" : " 1.20.1" ,
29
+ "uid" : " net.minecraft"
30
+ }
31
+ ],
32
+ "cachedVersion" : " 1.20.1" ,
33
+ "cachedVolatile" : true ,
34
+ "dependencyOnly" : true ,
35
+ "uid" : " net.fabricmc.intermediary" ,
36
+ "version" : " 1.20.1"
37
+ },
38
+ {
39
+ "cachedName" : " Fabric Loader" ,
40
+ "cachedRequires" : [
41
+ {
42
+ "uid" : " net.fabricmc.intermediary"
43
+ }
44
+ ],
45
+ "cachedVersion" : " 0.15.9" ,
46
+ "uid" : " net.fabricmc.fabric-loader" ,
47
+ "version" : " 0.15.9"
48
+ }
49
+ ],
50
+ "formatVersion" : 1
51
+ }
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Create output folder
4
+ mkdir -p output/
5
+
6
+ # Create .minecraft folder
7
+ mkdir -p prism/.minecraft/
8
+
9
+ # Copy unsup.ini & unsup.jar to prism/.minecraft
10
+ cp unsup.ini prism/.minecraft/
11
+
12
+ # cd to prism folder
13
+ cd prism/ || exit
14
+
15
+ # Zip it up and place it in output folder
16
+ zip -r ../output/TestingPrismPack.zip .
17
+
18
+ # Delete unsup.ini
19
+ rm .minecraft/unsup.ini
File renamed without changes.
You can’t perform that action at this time.
0 commit comments