From 2db45f5c1ae152bcc2a7ba2738ec69a92a53fa89 Mon Sep 17 00:00:00 2001 From: Xikaro <0regon.end@gmail.com> Date: Sun, 22 Dec 2024 22:44:39 +0500 Subject: [PATCH] workflows --- .github/workflows/build.yml | 6 +----- .github/workflows/pull.yml | 10 +++------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fee8b373..f0ad3f843 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -167,10 +167,6 @@ jobs: - name: 📝 Generate Github Summary uses: WcAServices/markdown-template-action@v1.1.0 with: - variables: >- - if [ -n "${{ steps.read_diff.outputs.diff != '' }}" ]; then - DIFF="${{ steps.read_diff.outputs.diff }}" - fi template: | 📃 **Name**: ${{ steps.project_name.outputs.value }} 📃 **Release**: ${{ steps.project_version.outputs.value }} @@ -178,7 +174,7 @@ jobs: 📃 **Game Version**: ${{ env.MINECRAFT_VERSION }} ${{ steps.changelog.outputs.description }} - $DIFF + ${{ steps.read_diff.outputs.diff }} build-modpack: diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index ea38bcd39..fb1c3cb63 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -1,5 +1,5 @@ -name: Project Build -run-name: "Project Build #${{ github.run_number }}" +name: Pull Request +run-name: "Pull Request #${{ github.run_number }}" on: push: branches: @@ -166,10 +166,6 @@ jobs: - name: 📝 Generate Github Summary uses: WcAServices/markdown-template-action@v1.1.0 with: - variables: >- - if [ -n "${{ steps.read_diff.outputs.diff != '' }}" ]; then - DIFF="${{ steps.read_diff.outputs.diff }}" - fi template: | 📃 **Name**: ${{ steps.project_name.outputs.value }} 📃 **Release**: ${{ steps.project_version.outputs.value }} @@ -177,5 +173,5 @@ jobs: 📃 **Game Version**: ${{ env.MINECRAFT_VERSION }} ${{ steps.changelog.outputs.description }} - $DIFF + ${{ steps.read_diff.outputs.diff }} \ No newline at end of file