mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
feat: Actions 打包报错 (#6251)
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
This commit is contained in:
@@ -203,6 +203,8 @@ jobs:
|
|||||||
- name: Get existing release body
|
- name: Get existing release body
|
||||||
id: get_release_body
|
id: get_release_body
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
env:
|
||||||
|
CHANGELOG: ${{ env.CHANGELOG }}
|
||||||
run: |
|
run: |
|
||||||
release_body=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
release_body=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||||
"https://api.github.com/repos/${{ github.repository }}/releases/tags/v${{ env.app_version }}" | \
|
"https://api.github.com/repos/${{ github.repository }}/releases/tags/v${{ env.app_version }}" | \
|
||||||
@@ -215,7 +217,7 @@ jobs:
|
|||||||
echo "EOF" >> $GITHUB_ENV
|
echo "EOF" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo "RELEASE_BODY<<EOF" >> $GITHUB_ENV
|
echo "RELEASE_BODY<<EOF" >> $GITHUB_ENV
|
||||||
echo "${{ env.CHANGELOG }}" >> $GITHUB_ENV
|
echo "$CHANGELOG" >> $GITHUB_ENV
|
||||||
echo "EOF" >> $GITHUB_ENV
|
echo "EOF" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user