diff --git a/.github/workflows/mpv.yml b/.github/workflows/mpv.yml index 93f3d676..948d2913 100644 --- a/.github/workflows/mpv.yml +++ b/.github/workflows/mpv.yml @@ -247,11 +247,11 @@ jobs: } } - let { stdout: ffmpeg_hash } = await exec.getExecOutput("git -C mpv-winbuild-cmake/src_packages/ffmpeg rev-parse --short HEAD"); - ffmpeg_hash = ffmpeg_hash.trim(); - const ffmpeg_name = `ffmpeg-${arch}-git-${ffmpeg_hash}`; - core.exportVariable( 'ffmpeg_name', ffmpeg_name ); - await exec.exec(`7z a -m0=lzma2 -mx=9 -ms=on mpv-winbuild-cmake/release/${ffmpeg_name}.7z ./mpv-winbuild-cmake/build${{ matrix.bit }}/install/mingw/bin/ffmpeg.exe`) + // let { stdout: ffmpeg_hash } = await exec.getExecOutput("git -C mpv-winbuild-cmake/src_packages/ffmpeg rev-parse --short HEAD"); + // ffmpeg_hash = ffmpeg_hash.trim(); + // const ffmpeg_name = `ffmpeg-${arch}-git-${ffmpeg_hash}`; + // core.exportVariable( 'ffmpeg_name', ffmpeg_name ); + // await exec.exec(`7z a -m0=lzma2 -mx=9 -ms=on mpv-winbuild-cmake/release/${ffmpeg_name}.7z ./mpv-winbuild-cmake/build${{ matrix.bit }}/install/mingw/bin/ffmpeg.exe`) - name: upload mpv-debug uses: actions/upload-artifact@v3 @@ -272,12 +272,12 @@ jobs: name: ${{ env.mpv_name }} path: ${{ env.mpv_path }} - - name: upload ffmpeg - uses: actions/upload-artifact@v3 - if: ${{ env.ffmpeg_name }} - with: - name: ${{ env.ffmpeg_name }} - path: mpv-winbuild-cmake/release/${{ env.ffmpeg_name }}.7z + # - name: upload ffmpeg + # uses: actions/upload-artifact@v3 + # if: ${{ env.ffmpeg_name }} + # with: + # name: ${{ env.ffmpeg_name }} + # path: mpv-winbuild-cmake/release/${{ env.ffmpeg_name }}.7z - name: Save Sources Cache if: ${{ github.ref_name == 'main' }} @@ -420,7 +420,7 @@ jobs: - name: Create release uses: ncipollo/release-action@v1 with: - artifacts: "artifacts/*/mpv*.7z,artifacts/*/ffmpeg*.7z" + artifacts: "artifacts/*/mpv*.7z" # "artifacts/*/mpv*.7z,artifacts/*/ffmpeg*.7z" commit: version name: "${{ env.short_time }}" body: "https://github.com/mpv-player/mpv/commit/${{ fromJson(needs.params.outputs.params).sha }}"