logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: ebdc82c58684b4e202fabc046f9a40fc73cccde5
parent 9112e668a5ea6376017718db9ff13b369d53ad7a
Author: dirkf <fieldhouse@gmx.net>
Date:   Thu, 22 Jun 2023 17:24:48 +0100

[workflows/ci.yml] Replace actions/setup-python for legacy Pythons

Thanks MatteoH2O1999: https://github.com/MatteoH2O1999/setup-python

Diffstat:

M.github/workflows/ci.yml6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -38,10 +38,12 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up supported Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - if: ${{ matrix.python-impl == 'cpython' && ! contains(fromJSON('["3.3", "3.4"]'), matrix.python-version) }} + # wrap broken actions/setup-python@v4 + uses: ytdl-org/setup-python@v1 with: python-version: ${{ matrix.python-version }} + cache-build: true + allow-build: info - name: Set up Java 8 if: ${{ matrix.python-impl == 'jython' }} uses: actions/setup-java@v2