Skip to content

Commit

Permalink
Add LICENSE file inside archive
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimMouse committed Mar 1, 2024
1 parent 2c7c887 commit 21fbecf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-ffmpeg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21fbecf

Please sign in to comment.