From b393a066f18d53f9fca0aeeef604bb5e3b32a672 Mon Sep 17 00:00:00 2001 From: Daniel Walsh Date: Sat, 24 Jun 2023 12:09:25 +0100 Subject: [PATCH] Improve messaging --- .github/workflows/maven-compiler.yml | 2 +- .github/workflows/preview-builds.yml | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven-compiler.yml b/.github/workflows/maven-compiler.yml index f0dbcf193..b6b24dea5 100644 --- a/.github/workflows/maven-compiler.yml +++ b/.github/workflows/maven-compiler.yml @@ -49,4 +49,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: slimefun-${{ github.event.number }} - path: 'target/Slimefun v4.9-UNOFFICIAL.jar' \ No newline at end of file + path: 'target/Slimefun v4.9-UNOFFICIAL.jar' diff --git a/.github/workflows/preview-builds.yml b/.github/workflows/preview-builds.yml index 0a1336c41..f43eb9d1f 100644 --- a/.github/workflows/preview-builds.yml +++ b/.github/workflows/preview-builds.yml @@ -7,6 +7,7 @@ on: - completed permissions: + contents: read pull-requests: write jobs: @@ -57,11 +58,13 @@ jobs: - name: Post comment uses: marocchino/sticky-pull-request-comment@v2 with: + number: ${{ env.WORKFLOW_PR_ID }} message: | - #### Slimefun preview jar - This is the preview jar for this Pull Request. - This can be used for reviewers to test this PR. + ### Slimefun preview build + + A Slimefun preview build is available for testing! https://preview-builds.walshy.dev/download/Slimefun/${{ env.WORKFLOW_PR_ID }}/${{ env.WORKFLOW_RUN_ID }} - *Pusher: @${{ github.actor }}, Action: ${{ github.event_name }}* + > **Note**: This is not a supported build and is only here for the purposes of testing. + > Do not run this on a live server and do not report bugs anywhere but this PR!