From c28e835ac64881a35f7b2c69e7b5d8015f32880c Mon Sep 17 00:00:00 2001 From: skykooler Date: Wed, 8 Jan 2025 05:39:13 -0500 Subject: [PATCH] Add output to extract changelog job --- .github/workflows/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e7c0287..c523fc0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,10 +27,9 @@ jobs: pattern: "${{ env.VERSION }}:" # Look for the version header (e.g., # 0.6.15-alpha:) file: Changelog.md - - name: Debug the extracted release notes - run: | - echo "Extracted Release Notes: ${{ steps.changelog.outputs.markdown }}" - echo "All outputs: ${{ steps.changelog.outputs }}" + # Set the markdown output of the job + - name: Set markdown output + run: echo "::set-output name=markdown::$(echo '${{ steps.changelog.outputs.markdown }}')" publish-tauri: needs: extract-changelog @@ -55,8 +54,7 @@ jobs: - name: Debug the extracted release notes run: | - echo "Extracted Release Notes: ${{ steps.changelog.outputs.markdown }}" - echo "All outputs: ${{ steps.changelog.outputs }}" + echo "Extracted Release Notes: ${{ needs.extract-changelog.outputs.markdown }}" - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.