|
|
|
@ -144,7 +144,6 @@ jobs:
|
|
|
|
|
build_macos:
|
|
|
|
|
runs-on: macos-11
|
|
|
|
|
needs: build_unix
|
|
|
|
|
if: False
|
|
|
|
|
outputs:
|
|
|
|
|
sha256_macos: ${{ steps.sha256_macos.outputs.sha256_macos }}
|
|
|
|
|
sha512_macos: ${{ steps.sha512_macos.outputs.sha512_macos }}
|
|
|
|
@ -154,10 +153,11 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
# In order to create a universal2 application, the version of python3 in /usr/bin has to be used
|
|
|
|
|
# Pyinstaller is pinned to 4.5.1 because the builds are failing in 4.6, 4.7
|
|
|
|
|
- name: Install Requirements
|
|
|
|
|
run: |
|
|
|
|
|
brew install coreutils
|
|
|
|
|
/usr/bin/python3 -m pip install -U --user pip Pyinstaller mutagen pycryptodomex websockets
|
|
|
|
|
/usr/bin/python3 -m pip install -U --user pip Pyinstaller==4.5.1 mutagen pycryptodomex websockets
|
|
|
|
|
- name: Bump version
|
|
|
|
|
id: bump_version
|
|
|
|
|
run: /usr/bin/python3 devscripts/update-version.py
|
|
|
|
@ -343,7 +343,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
finish:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
needs: [build_unix, build_windows, build_windows32]
|
|
|
|
|
needs: [build_unix, build_windows, build_windows32, build_macos]
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: Make SHA2-256SUMS file
|
|
|
|
@ -363,8 +363,8 @@ jobs:
|
|
|
|
|
echo "${{ env.SHA256_PY2EXE }} yt-dlp_min.exe" >> SHA2-256SUMS
|
|
|
|
|
echo "${{ env.SHA256_WIN32 }} yt-dlp_x86.exe" >> SHA2-256SUMS
|
|
|
|
|
echo "${{ env.SHA256_WIN_ZIP }} yt-dlp_win.zip" >> SHA2-256SUMS
|
|
|
|
|
# echo "${{ env.SHA256_MACOS }} yt-dlp_macos" >> SHA2-256SUMS
|
|
|
|
|
# echo "${{ env.SHA256_MACOS_ZIP }} yt-dlp_macos.zip" >> SHA2-256SUMS
|
|
|
|
|
echo "${{ env.SHA256_MACOS }} yt-dlp_macos" >> SHA2-256SUMS
|
|
|
|
|
echo "${{ env.SHA256_MACOS_ZIP }} yt-dlp_macos.zip" >> SHA2-256SUMS
|
|
|
|
|
- name: Upload 256SUMS file
|
|
|
|
|
id: upload-sums
|
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
@ -392,8 +392,8 @@ jobs:
|
|
|
|
|
echo "${{ env.SHA512_WIN_ZIP }} yt-dlp_win.zip" >> SHA2-512SUMS
|
|
|
|
|
echo "${{ env.SHA512_PY2EXE }} yt-dlp_min.exe" >> SHA2-512SUMS
|
|
|
|
|
echo "${{ env.SHA512_WIN32 }} yt-dlp_x86.exe" >> SHA2-512SUMS
|
|
|
|
|
# echo "${{ env.SHA512_MACOS }} yt-dlp_macos" >> SHA2-512SUMS
|
|
|
|
|
# echo "${{ env.SHA512_MACOS_ZIP }} yt-dlp_macos.zip" >> SHA2-512SUMS
|
|
|
|
|
echo "${{ env.SHA512_MACOS }} yt-dlp_macos" >> SHA2-512SUMS
|
|
|
|
|
echo "${{ env.SHA512_MACOS_ZIP }} yt-dlp_macos.zip" >> SHA2-512SUMS
|
|
|
|
|
- name: Upload 512SUMS file
|
|
|
|
|
id: upload-512sums
|
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
|