48
48
echo "ATTACHABLE_MATERIAL=$(jq -r '.attachable_material' inputs.json)" >> $GITHUB_OUTPUT
49
49
echo "ARCHIVE_SCRATCH=$(jq -r '.archive_scratch' inputs.json)" >> $GITHUB_OUTPUT
50
50
echo "RENAME_MODEL_FILES=$(jq -r '.rename_model_files' inputs.json)" >> $GITHUB_OUTPUT
51
+
51
52
convert-pack :
52
53
runs-on : ubuntu-latest
53
54
needs : get-pack-info
70
71
uses : actions/setup-node@v3
71
72
with :
72
73
node-version : 17
74
+ - name : Fix APT sources and update
75
+ run : |
76
+ sudo sed -i 's|mirror+file:/etc/apt/apt-mirrors.txt|http://archive.ubuntu.com/ubuntu|' /etc/apt/sources.list
77
+ sudo apt-get clean
78
+ sudo apt-get update
73
79
- name : Install dependencies
74
80
run : |
75
- sudo apt-get install -y moreutils zip imagemagick
81
+ sudo apt-get install -y --fix-missing moreutils zip imagemagick ghostscript
76
82
yarn global add spritesheet-js
77
83
- name : Convert Pack
78
84
id : convert-pack
@@ -108,6 +114,7 @@ jobs:
108
114
staging/target/geyser_mappings.json
109
115
staging/target/scratch_files.zip
110
116
staging/config.json
117
+
111
118
post-result :
112
119
runs-on : ubuntu-latest
113
120
needs : convert-pack
@@ -134,6 +141,7 @@ jobs:
134
141
uses : peter-evans/close-issue@v2
135
142
with :
136
143
issue-number : ${{ github.event.issue.number }}
144
+
137
145
conversion-failed :
138
146
runs-on : ubuntu-latest
139
147
needs : [get-pack-info, convert-pack, post-result]
@@ -155,7 +163,7 @@ jobs:
155
163
- Convert Pack: *${{ needs.convert-pack.result }}*
156
164
- Post Result: *${{ needs.post-result.result }}*
157
165
158
- If you believe this is an issue with the converter. please open a bug report. This issue will be closed automatically.
166
+ If you believe this is an issue with the converter, please open a bug report. This issue will be closed automatically.
159
167
160
168
[1]: https://github.com/Kas-tle/java2bedrock.sh/actions/runs/${{ github.run_id}}
161
169
reactions : ' x'
0 commit comments