Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xikaro committed Oct 26, 2024
1 parent 7e6b259 commit 0258217
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
project_version: ${{ steps.project_version.outputs.tag }}
project_name: ${{ steps.project_name.outputs.value }}
changelog: ${{ steps.changelog.outputs.description }}
diff: ${{ steps.diff.outputs.description }}
diff: ${{ steps.lockfile.outputs.diff }}
release_type: ${{ env.RELEASE_TYPE }}
mc_version: ${{ env.MC_VERSION }}

Expand Down Expand Up @@ -70,6 +70,11 @@ jobs:
if [ ! -f PROJECTS_DIFF.md ]; then
touch PROJECTS_DIFF.md
fi
{
echo 'diff<<EOF'
cat -v --show-nonprinting PROJECTS_DIFF.md
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Get Project Name
id: project_name
Expand All @@ -89,19 +94,15 @@ jobs:
uses: coditory/[email protected]
with:
path: CHANGELOG.md

- name: Diff Parser
id: diff
run: cat -v --show-nonprinting PROJECTS_DIFF.md >> "$GITHUB_OUTPUT"

- name: Generate list using Markdown
- name: Generate Github Summary
run: |
echo "📃 Project Name=${{ steps.project_name.outputs.value }}" >> $GITHUB_STEP_SUMMARY
echo "📃 Project Version=${{ steps.project_version.outputs.tag }}" >> $GITHUB_STEP_SUMMARY
echo "📃 MC Versions=${{ env.MC_VERSION }}" >> $GITHUB_STEP_SUMMARY
echo "📃 Release Type=${{ env.RELEASE_TYPE }}" >> $GITHUB_STEP_SUMMARY
echo "${{ steps.changelog.outputs.description }}" >> $GITHUB_STEP_SUMMARY
echo "```${{ steps.diff.outputs.description }}```"" >> $GITHUB_STEP_SUMMARY
echo "```${{ steps.lockfile.outputs.diff }}```" >> $GITHUB_STEP_SUMMARY
build-modpack:
name: Build Modpack
Expand Down

0 comments on commit 0258217

Please sign in to comment.