Skip to content

Commit

Permalink
ci skip: 修复编译失败
Browse files Browse the repository at this point in the history
  • Loading branch information
Mystery00 authored May 11, 2024
1 parent cd1f9dd commit deb6a47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ 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: |
patchFile="${{ inputs.oldVersionCode }}-${{ steps.apk.outputs.versionCode }}.patch"
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)
Expand Down

0 comments on commit deb6a47

Please sign in to comment.