Skip to content

Commit 6225f13

Browse files
author
NullPointerException
committed
update ffmpeg
1 parent 87fedbd commit 6225f13

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-ffmpeg.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,23 @@ jobs:
5757
- name: 打印构建日志
5858
if: ${{ always() }} # 无论成功或失败都执行
5959
run: |
60-
pwd
6160
cd ffmpeg-kit
6261
if [[ -f build.log ]]; then
6362
cat build.log
6463
else
6564
echo "build.log 文件不存在"
6665
fi
6766
67+
- name: 打印 FFmpeg 配置日志(失败时)
68+
if: ${{ failure() }} # 仅在构建失败时执行
69+
run: |
70+
cd ffmpeg-kit
71+
if [[ -f ./src/ffmpeg/ffbuild/config.log ]]; then
72+
tail -50 ./src/ffmpeg/ffbuild/config.log
73+
else
74+
echo "FFmpeg 配置日志文件 (config.log) 不存在"
75+
fi
76+
6877
6978
- name: 上传 LTS AAR 文件
7079
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)