diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2210e8f..5f8f0d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,9 +59,9 @@ jobs: cp "${{ env.OUTPUT_DIR }}/$apkFile" "patch/new.apk" - echo ::set-output name=versionName::$versionName - echo ::set-output name=versionCode::$versionCode - echo ::set-output name=apkFile::$apkFile + echo "versionName=$versionName" >> $GITHUB_OUTPUT + echo "versionCode=$versionCode" >> $GITHUB_OUTPUT + echo "apkFile=$apkFile" >> $GITHUB_OUTPUT - name: ็”Ÿๆˆ patch ๆ–‡ไปถ id: patch run: | @@ -69,7 +69,7 @@ jobs: echo "$patchFile" > patch_name bsdiff "patch/old.apk" "patch/new.apk" "patch/$patchFile" - 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)