Merge branch 'main' into patch-2

This commit is contained in:
Xikaro 2024-12-22 22:42:53 +05:00 committed by GitHub
commit bb77abb774
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 10 deletions

View file

@ -167,6 +167,10 @@ 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 }}
@ -174,9 +178,7 @@ jobs:
📃 **Game Version**: ${{ env.MINECRAFT_VERSION }}
${{ steps.changelog.outputs.description }}
if [ -n "${{ steps.read_diff.outputs.diff != '' }}" ]; then
${{ steps.read_diff.outputs.diff }}
fi
$DIFF
build-modpack:

View file

@ -8,10 +8,6 @@ on:
branches:
- main
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
env:
RELEASE_TYPE: "alpha"
MINECRAFT_VERSION: "1.20.1"
@ -170,6 +166,10 @@ 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,7 +177,5 @@ jobs:
📃 **Game Version**: ${{ env.MINECRAFT_VERSION }}
${{ steps.changelog.outputs.description }}
if [ -n "${{ steps.read_diff.outputs.diff != '' }}" ]; then
${{ steps.read_diff.outputs.diff }}
fi
$DIFF