Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Xikaro committed Dec 22, 2024
1 parent a319ada commit 3328631
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -167,16 +167,18 @@ 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 }}
📃 **Release Type**: ${{ env.RELEASE_TYPE }}
📃 **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:
8 changes: 5 additions & 3 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
@@ -166,14 +166,16 @@ 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 }}
📃 **Release Type**: ${{ env.RELEASE_TYPE }}
📃 **Game Version**: ${{ env.MINECRAFT_VERSION }}
${{ steps.changelog.outputs.description }}
if [ -n "${{ steps.read_diff.outputs.diff != '' }}" ]; then
${{ steps.read_diff.outputs.diff }}
fi
$DIFF

0 comments on commit 3328631

Please sign in to comment.