From 21fbecf2feab098fac95dad656bbbb268f7901fd Mon Sep 17 00:00:00 2001 From: Anim Mouse Date: Sat, 2 Mar 2024 00:36:48 +0800 Subject: [PATCH] Add LICENSE file inside archive --- .github/workflows/build-ffmpeg.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-ffmpeg.yaml b/.github/workflows/build-ffmpeg.yaml index 56286b9..fbb69a1 100644 --- a/.github/workflows/build-ffmpeg.yaml +++ b/.github/workflows/build-ffmpeg.yaml @@ -125,8 +125,13 @@ jobs: with: name: ffmpeg-${{ matrix.os }} + - name: Create LICENSE + run: | + echo "This version of ffmpeg has nonfree parts compiled in." >> LICENSE + echo "Therefore it is not legally redistributable." >> LICENSE + - name: 7-Zip FFmpeg binaries - run: 7z a -mx9 ffmpeg-${{ needs.check.outputs.git-sha-short }}-${{ needs.check.outputs.helper-git-sha-short }}-${{ matrix.os }}-nonfree.7z ffmpeg.exe ffprobe.exe ffplay.exe + run: 7z a -mx9 ffmpeg-${{ needs.check.outputs.git-sha-short }}-${{ needs.check.outputs.helper-git-sha-short }}-${{ matrix.os }}-nonfree.7z ffmpeg.exe ffprobe.exe ffplay.exe LICENSE - name: Upload FFmpeg archive uses: actions/upload-artifact@v4