From c490c3b8b153897189865dfe9b63949ed38fc843 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Sat, 2 Nov 2024 06:44:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E4=B8=80=E6=AD=A5=E6=8E=92=E9=99=A4?= =?UTF-8?q?=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index ddb3d82..b1bcb36 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -118,7 +118,7 @@ jobs: - name: Check if release exists id: check_if_release_exists run: | - release_id=$(gh release view $(head -n 1 update_info.txt) --json id --jq .id || true) + release_id=$(gh release view $(sed 's/\r$//g' <(head -n 1 update_info.txt)) --json id --jq .id || true) if [[ -z $release_id ]]; then echo "release_exists=false" >> $GITHUB_OUTPUT else