mirror of
https://github.com/Kas-tle/java2bedrock.sh.git
synced 2025-12-19 14:59:13 +00:00
Update conversion-request.yml (#50449)
This commit is contained in:
12
.github/workflows/conversion-request.yml
vendored
12
.github/workflows/conversion-request.yml
vendored
@@ -48,6 +48,7 @@ jobs:
|
|||||||
echo "ATTACHABLE_MATERIAL=$(jq -r '.attachable_material' inputs.json)" >> $GITHUB_OUTPUT
|
echo "ATTACHABLE_MATERIAL=$(jq -r '.attachable_material' inputs.json)" >> $GITHUB_OUTPUT
|
||||||
echo "ARCHIVE_SCRATCH=$(jq -r '.archive_scratch' inputs.json)" >> $GITHUB_OUTPUT
|
echo "ARCHIVE_SCRATCH=$(jq -r '.archive_scratch' inputs.json)" >> $GITHUB_OUTPUT
|
||||||
echo "RENAME_MODEL_FILES=$(jq -r '.rename_model_files' inputs.json)" >> $GITHUB_OUTPUT
|
echo "RENAME_MODEL_FILES=$(jq -r '.rename_model_files' inputs.json)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
convert-pack:
|
convert-pack:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get-pack-info
|
needs: get-pack-info
|
||||||
@@ -70,9 +71,14 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 17
|
node-version: 17
|
||||||
|
- name: Fix APT sources and update
|
||||||
|
run: |
|
||||||
|
sudo sed -i 's|mirror+file:/etc/apt/apt-mirrors.txt|http://archive.ubuntu.com/ubuntu|' /etc/apt/sources.list
|
||||||
|
sudo apt-get clean
|
||||||
|
sudo apt-get update
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y moreutils zip imagemagick
|
sudo apt-get install -y --fix-missing moreutils zip imagemagick ghostscript
|
||||||
yarn global add spritesheet-js
|
yarn global add spritesheet-js
|
||||||
- name: Convert Pack
|
- name: Convert Pack
|
||||||
id: convert-pack
|
id: convert-pack
|
||||||
@@ -108,6 +114,7 @@ jobs:
|
|||||||
staging/target/geyser_mappings.json
|
staging/target/geyser_mappings.json
|
||||||
staging/target/scratch_files.zip
|
staging/target/scratch_files.zip
|
||||||
staging/config.json
|
staging/config.json
|
||||||
|
|
||||||
post-result:
|
post-result:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: convert-pack
|
needs: convert-pack
|
||||||
@@ -134,6 +141,7 @@ jobs:
|
|||||||
uses: peter-evans/close-issue@v2
|
uses: peter-evans/close-issue@v2
|
||||||
with:
|
with:
|
||||||
issue-number: ${{ github.event.issue.number }}
|
issue-number: ${{ github.event.issue.number }}
|
||||||
|
|
||||||
conversion-failed:
|
conversion-failed:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [get-pack-info, convert-pack, post-result]
|
needs: [get-pack-info, convert-pack, post-result]
|
||||||
@@ -155,7 +163,7 @@ jobs:
|
|||||||
- Convert Pack: *${{ needs.convert-pack.result }}*
|
- Convert Pack: *${{ needs.convert-pack.result }}*
|
||||||
- Post Result: *${{ needs.post-result.result }}*
|
- Post Result: *${{ needs.post-result.result }}*
|
||||||
|
|
||||||
If you believe this is an issue with the converter. please open a bug report. This issue will be closed automatically.
|
If you believe this is an issue with the converter, please open a bug report. This issue will be closed automatically.
|
||||||
|
|
||||||
[1]: https://github.com/Kas-tle/java2bedrock.sh/actions/runs/${{ github.run_id}}
|
[1]: https://github.com/Kas-tle/java2bedrock.sh/actions/runs/${{ github.run_id}}
|
||||||
reactions: 'x'
|
reactions: 'x'
|
||||||
|
|||||||
Reference in New Issue
Block a user