diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c523fc0..805b5ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,9 +27,10 @@ jobs: pattern: "${{ env.VERSION }}:" # Look for the version header (e.g., # 0.6.15-alpha:) file: Changelog.md - # Set the markdown output of the job + # Set the markdown output using environment files - name: Set markdown output - run: echo "::set-output name=markdown::$(echo '${{ steps.changelog.outputs.markdown }}')" + run: | + echo "markdown=${{ steps.changelog.outputs.markdown }}" >> $GITHUB_ENV publish-tauri: needs: extract-changelog @@ -54,7 +55,7 @@ jobs: - name: Debug the extracted release notes run: | - echo "Extracted Release Notes: ${{ needs.extract-changelog.outputs.markdown }}" + echo "Extracted Release Notes: ${{ env.markdown }}" - name: install dependencies (ubuntu only) if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. @@ -141,7 +142,7 @@ jobs: with: tagName: "app-v${{ env.VERSION }}" # Use the original version tag for the release releaseName: "Lightningbeam v${{ env.VERSION }}" - releaseBody: "${{ needs.extract-changelog.outputs.markdown }}" + releaseBody: "${{ env.markdown }}" releaseDraft: true # Set to true if you want the release to be a draft prerelease: true args: ${{ matrix.args }}