Don't use deprecated commands

This commit is contained in:
skykooler 2025-01-08 05:43:36 -05:00 committed by Skyler Lehmkuhl
parent c28e835ac6
commit 203b9646c3
1 changed files with 5 additions and 4 deletions

View File

@ -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 }}