From 5925a2eab5e1ed76636d786e48c708a0aed3aa18 Mon Sep 17 00:00:00 2001 From: Mystery0 Date: Sun, 3 Mar 2024 20:26:29 +0800 Subject: [PATCH] =?UTF-8?q?ci=20skip:=20=E4=BF=AE=E5=A4=8Dgithub=20actions?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a3443a..9139cdf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -111,17 +111,17 @@ jobs: run: | versionName=$(cat "${{ env.OUTPUT_DIR }}/output-metadata.json" | jq -r '.elements[0].versionName') versionCode=$(cat "${{ env.OUTPUT_DIR }}/output-metadata.json" | jq -r '.elements[0].versionCode') - echo ::set-output name=versionName::$versionName - echo ::set-output name=versionCode::$versionCode + echo "versionName=$versionName" >> $GITHUB_OUTPUT + echo "versionCode=$versionCode" >> $GITHUB_OUTPUT patchFile=$(cat patch_name) - echo ::set-output name=patchFile::$patchFile + echo "patchFile=$patchFile" >> $GITHUB_OUTPUT apkMd5=$(md5sum "patch/new.apk" | cut -d" " -f1) patchMd5=$(md5sum "patch/$patchFile" | cut -d" " -f1) - echo ::set-output name=apkMd5::$apkMd5 - echo ::set-output name=patchMd5::$patchMd5 + echo "apkMd5=$apkMd5" >> $GITHUB_OUTPUT + echo "patchMd5=$patchMd5" >> $GITHUB_OUTPUT - name: 上传 APK 文件 id: upload_apk uses: Mystery00/upload-actions@v1.11