Skip to content

Commit d652996

Browse files
authored
Update conversion-request.yml (#50449)
1 parent c22a802 commit d652996

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/conversion-request.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
echo "ATTACHABLE_MATERIAL=$(jq -r '.attachable_material' inputs.json)" >> $GITHUB_OUTPUT
4949
echo "ARCHIVE_SCRATCH=$(jq -r '.archive_scratch' inputs.json)" >> $GITHUB_OUTPUT
5050
echo "RENAME_MODEL_FILES=$(jq -r '.rename_model_files' inputs.json)" >> $GITHUB_OUTPUT
51+
5152
convert-pack:
5253
runs-on: ubuntu-latest
5354
needs: get-pack-info
@@ -70,9 +71,14 @@ jobs:
7071
uses: actions/setup-node@v3
7172
with:
7273
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
7379
- name: Install dependencies
7480
run: |
75-
sudo apt-get install -y moreutils zip imagemagick
81+
sudo apt-get install -y --fix-missing moreutils zip imagemagick ghostscript
7682
yarn global add spritesheet-js
7783
- name: Convert Pack
7884
id: convert-pack
@@ -108,6 +114,7 @@ jobs:
108114
staging/target/geyser_mappings.json
109115
staging/target/scratch_files.zip
110116
staging/config.json
117+
111118
post-result:
112119
runs-on: ubuntu-latest
113120
needs: convert-pack
@@ -134,6 +141,7 @@ jobs:
134141
uses: peter-evans/close-issue@v2
135142
with:
136143
issue-number: ${{ github.event.issue.number }}
144+
137145
conversion-failed:
138146
runs-on: ubuntu-latest
139147
needs: [get-pack-info, convert-pack, post-result]
@@ -155,7 +163,7 @@ jobs:
155163
- Convert Pack: *${{ needs.convert-pack.result }}*
156164
- Post Result: *${{ needs.post-result.result }}*
157165
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.
159167
160168
[1]: https://github.com/Kas-tle/java2bedrock.sh/actions/runs/${{ github.run_id}}
161169
reactions: 'x'

0 commit comments

Comments
 (0)