diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4913f9d3..38c26bce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -70,6 +70,11 @@ jobs: if [ ! -f PROJECTS_DIFF.md ]; then touch PROJECTS_DIFF.md fi + { + echo 'diff<> "$GITHUB_OUTPUT" - name: Get Project Name id: project_name @@ -89,19 +94,15 @@ jobs: uses: coditory/changelog-parser@v1.0.2 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