9
0
mirror of https://github.com/Kas-tle/java2bedrock.sh.git synced 2025-12-28 11:09:06 +00:00

Add failure message

This commit is contained in:
Kas-tle
2022-05-25 04:53:20 +00:00
committed by GitHub
parent e939f02e53
commit 123ad0f55c

View File

@@ -118,10 +118,38 @@ jobs:
- Upload the resource pack `geyser_resources.mcpack` to the `packs` folder of your Geyser folder. :file_folder:
- Upload the mappings file `geyser_mappings.json` to the `custom_mappings` folder of your Geyser folder. :page_with_curl:
If you notice issues with the converted files, please refer to the action log for errors and open a bud report if you believe there is an issue with the converter.
If you notice issues with the converted files, please refer to the action log for errors and open a bug report if you believe there is an issue with the converter. This issue will be closed automatically.
[1]: https://github.com/Kas-tle/java2bedrock.sh/actions/runs/${{ github.run_id}}
reactions: 'rocket'
- name: Close Issue
uses: peter-evans/close-issue@v2
with:
issue-number: ${{ github.event.issue.number }}
conversion-failed:
runs-on: ubuntu-latest
needs: [get-pack-info, convert-pack, post-result]
if: always() && (needs.get-pack-info.result == 'failure' || needs.convert-pack.result == 'failure' || needs.convert-pack.result == 'post-result')
permissions:
issues: write
steps:
- name: Post Result
id: post-result
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.issue.number }}
body: |
:stop_sign: The run has failed :stop_sign:
- Check the [action run][1] page for errors. :clipboard:
- Status by job:
- Get Pack Info: *${{ needs.get-pack-info.result }}*
- Convert Pack: *${{ needs.convert-pack.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.
[1]: https://github.com/Kas-tle/java2bedrock.sh/actions/runs/${{ github.run_id}}
reactions: 'x'
- name: Close Issue
uses: peter-evans/close-issue@v2
with: