Skip to content

Commit

Permalink
workflows: upload ffmpeg to github release
Browse files Browse the repository at this point in the history
  • Loading branch information
shinchiro committed Apr 19, 2022
1 parent eadcd3f commit 1e2c139
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ jobs:
if $BUILD_32BIT; then rm -rf build32/mpv-debug*; ninja -C build32 mpv-packaging; mv build32/mpv*.7z release; fi
if $BUILD_64BIT; then rm -rf build64/mpv-debug*; ninja -C build64 mpv-packaging; mv build64/mpv*.7z release; fi
- name: Copying ffmpeg
id: copying_ffmpeg
if: ${{ steps.build_toolchain.outcome == 'success' && steps.packaging_mpv.outcome == 'success' }}
continue-on-error: true
run: |
if $BUILD_32BIT; then 7z a -m0=lzma2 -mx=9 -ms=on release/ffmpeg_x86.7z build32/install/mingw/bin/ffmpeg.exe; fi
if $BUILD_64BIT; then 7z a -m0=lzma2 -mx=9 -ms=on release/ffmpeg_x64.7z build64/install/mingw/bin/ffmpeg.exe; fi
- name: Uploading packages to Sourceforge
id: upload_packages_sf
if: ${{ steps.packaging_mpv.outcome == 'success' && github.event.inputs.sourceforge == 'true' }}
Expand Down

0 comments on commit 1e2c139

Please sign in to comment.