diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-11-29 22:18:33 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-11-29 22:52:01 +0530 |
commit | 13ab5fa5869594b311803b22c46ccd200fefb4a3 (patch) | |
tree | a29878a73ac1a2d18c04a447a6f442985f049a6b | |
parent | 36eaf3039a5d96d4f8ebb644b1ab3b0ad4136cd0 (diff) | |
download | hypervideo-pre-13ab5fa5869594b311803b22c46ccd200fefb4a3.tar.lz hypervideo-pre-13ab5fa5869594b311803b22c46ccd200fefb4a3.tar.xz hypervideo-pre-13ab5fa5869594b311803b22c46ccd200fefb4a3.zip |
[build] Fix MacOS Build
Closes #1624
-rw-r--r-- | .github/workflows/build.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d3df9426..d12d4693c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |