Skip to content

Commit

Permalink
ci(ffmpeg-version): version of used ffmpeg is now written down in an …
Browse files Browse the repository at this point in the history
…explicit file
  • Loading branch information
Zeratoxx committed Mar 2, 2024
1 parent fa2fca8 commit 226d9b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,20 @@ jobs:
# Checks-out repository under $GITHUB_WORKSPACE, so job can access repo files
- uses: actions/checkout@v3

- name: Set variable for FFmpeg version
run: |
echo "FFMPEG_VERSION=$(cat VERSION_FFMPEG)" >> $GITHUB_ENV
- name: Download and unzip FFmpeg
run: |
wget https://github.com/GyanD/codexffmpeg/releases/download/5.1.2/ffmpeg-5.1.2-full_build.zip
unzip ffmpeg-5.1.2-full_build.zip
wget https://github.com/GyanD/codexffmpeg/releases/download/${{ env.FFMPEG_VERSION }}/ffmpeg-${{ env.FFMPEG_VERSION }}-full_build.zip
unzip ffmpeg-${{ env.FFMPEG_VERSION }}-full_build.zip
- name: Create bundle dir
run: |
mkdir win-bundle
mv ./ffmpeg-5.1.2-full_build/bin/ffmpeg.exe ./win-bundle/
mv ./ffmpeg-5.1.2-full_build/bin/ffprobe.exe ./win-bundle/
mv ./ffmpeg-${{ env.FFMPEG_VERSION }}-full_build/bin/ffmpeg.exe ./win-bundle/
mv ./ffmpeg-${{ env.FFMPEG_VERSION }}-full_build/bin/ffprobe.exe ./win-bundle/
mv ./LICENSE ./win-bundle/
mv ./README.md ./win-bundle/
mv ./*.ps1 ./win-bundle/
Expand Down
1 change: 1 addition & 0 deletions VERSION_FFMPEG
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.1.2

0 comments on commit 226d9b0

Please sign in to comment.