File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build & Publish Resourcepack (only Programmer Art Edition)
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : ' The version name'
8+ required : true
9+ type : string
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-24.04
14+ steps :
15+ - name : Checkout Repository
16+ uses : actions/checkout@v4
17+ - name : Set up Python 3.10
18+ uses : actions/setup-python@v3
19+ with :
20+ python-version : " 3.10"
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+ - name : Compile Programmer Art Edition
26+ run : python gen_pack.py -m -p ${{ inputs.version }} §7Programmer Edition
27+ - name : Upload programmer art version
28+ uses : Kir-Antipov/mc-publish@v3.3
29+ with :
30+ modrinth-id : QXePegVz
31+ modrinth-featured : true
32+ modrinth-unfeature-mode : subset
33+ modrinth-token : ${{ secrets.MODRINTH_TOKEN }}
34+
35+ curseforge-id : 1247519
36+ curseforge-token : ${{ secrets.CURSEFORGE_TOKEN }}
37+
38+ files : ./Better-Leaves-\(Programmer-Art\)-${{ inputs.version }}.zip
39+
40+ name : Better Leaves (Programmer Art) ${{ inputs.version }} - 1.20+
41+ version : ${{ inputs.version }}
42+ version-type : release
43+ loaders : minecraft
44+ changelog-file : CHANGELOG.*
45+
46+ game-versions : |
47+ >=1.20
48+ game-version-filter : releases
49+ dependencies : |
50+ cull-leaves(recommended)
Original file line number Diff line number Diff line change 1+ name : Build & Publish Resourcepack (only Regular Edition)
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : ' The version name'
8+ required : true
9+ type : string
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-24.04
14+ steps :
15+ - name : Checkout Repository
16+ uses : actions/checkout@v4
17+ - name : Set up Python 3.10
18+ uses : actions/setup-python@v3
19+ with :
20+ python-version : " 3.10"
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+ - name : Compile Regular Edition
26+ run : python gen_pack.py -m ${{ inputs.version }} Vanilla Edition
27+ - name : Upload regular version
28+ uses : Kir-Antipov/mc-publish@v3.3
29+ with :
30+ modrinth-id : uvpymuxq
31+ modrinth-featured : true
32+ modrinth-unfeature-mode : subset
33+ modrinth-token : ${{ secrets.MODRINTH_TOKEN }}
34+
35+ curseforge-id : 380969
36+ curseforge-token : ${{ secrets.CURSEFORGE_TOKEN }}
37+
38+ files : ./Better-Leaves-${{ inputs.version }}.zip
39+
40+ name : Better Leaves ${{ inputs.version }} - 1.20+
41+ version : ${{ inputs.version }}
42+ version-type : release
43+ loaders : minecraft
44+ changelog-file : CHANGELOG.*
45+
46+ game-versions : |
47+ >=1.20
48+ game-version-filter : releases
49+ dependencies : |
50+ cull-leaves(recommended)
You can’t perform that action at this time.
0 commit comments