From d348f38ffd56724768cbf60fd81cd0dbb86d377f Mon Sep 17 00:00:00 2001 From: ludndev Date: Thu, 18 Jul 2024 15:34:27 +0100 Subject: [PATCH] chore: wip in release.yml --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 705e9d6..8bb0f37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -130,7 +130,8 @@ jobs: } if ('${{ needs.check-version.outputs.result }}' -eq 'false' || '${{ needs.check-last-commit.outputs.result }}' -eq 'false') { - $ISSUE_URL = gh issue create --label bug --title "Release $($TAG_VERSION) Check Failed" --body "$ISSUE_BODY" + $ISSUE_BODY | Out-File -FilePath body.txt -Encoding utf8 + $ISSUE_URL = gh issue create --label bug --title "Release $($TAG_VERSION) Check Failed" --body-file body.txt gh release delete $TAG_VERSION --yes Write-Output "Release has been unpublished due to check failure."