From 151407face3bb45a92819fa8472a5a88d3eabe63 Mon Sep 17 00:00:00 2001 From: yanghuanglin Date: Fri, 21 Nov 2025 18:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/BuildLauncher.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/BuildLauncher.yml b/.github/workflows/BuildLauncher.yml index fd1d8c9..68788f4 100644 --- a/.github/workflows/BuildLauncher.yml +++ b/.github/workflows/BuildLauncher.yml @@ -215,10 +215,10 @@ jobs: echo "错误:输出目录 ${{ env.BUILD_SCRIPT_OUTPUT_DIR }} 不存在" exit 1 fi - ZIP_FILE=$(ls "${{ env.BUILD_SCRIPT_OUTPUT_DIR }}"/*.zip 2>/dev/null | head -1) + ZIP_FILE=$(ls ${{ env.BUILD_SCRIPT_OUTPUT_DIR }}/*.zip 2>/dev/null | head -1) if [ -z "$ZIP_FILE" ]; then echo "错误:在 ${{ env.BUILD_SCRIPT_OUTPUT_DIR }} 中未找到 zip 文件" - ls -la "${{ env.BUILD_SCRIPT_OUTPUT_DIR }}" || echo "目录内容无法列出" + ls -la ${{ env.BUILD_SCRIPT_OUTPUT_DIR }} || echo "目录内容无法列出" exit 1 fi echo "zip_file=$ZIP_FILE" >> $GITHUB_OUTPUT