- name: Print version
run: echo "${{ steps.bump_version.outputs.ytdlp_version }}"
- name: Run Make
- run: make
+ run: make all tar
- name: Create Release
id: create_release
uses: actions/create-release@v1
asset_path: ./yt-dlp
asset_name: yt-dlp
asset_content_type: application/octet-stream
+ - name: Upload Source tar
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+ asset_path: ./yt-dlp.tar.gz
+ asset_name: yt-dlp.tar.gz
+ asset_content_type: application/gzip
- name: Get SHA2-256SUMS for yt-dlp
id: sha256_file
run: echo "::set-output name=sha256_unix::$(sha256sum yt-dlp | awk '{print $1}')"
steps:
- uses: actions/checkout@v2
- - name: Set up Python
+ # 3.8 is used for Win7 support
+ - name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Upgrade pip and enable wheel support
run: python -m pip install --upgrade pip setuptools wheel
- name: Install Requirements
- run: pip install pyinstaller mutagen pycryptodome
+ # Custom pyinstaller built with https://github.com/yt-dlp/pyinstaller-builds
+ run: pip install "https://yt-dlp.github.io/pyinstaller-builds/x86_64/pyinstaller-4.5.1-py3-none-any.whl" mutagen pycryptodome websockets
- name: Bump version
id: bump_version
run: python devscripts/update-version.py
steps:
- uses: actions/checkout@v2
- - name: Set up Python 3.4.4 32-Bit
+ # 3.7 is used for Vista support. See https://github.com/yt-dlp/yt-dlp/issues/390
+ - name: Set up Python 3.7 32-Bit
uses: actions/setup-python@v2
with:
- python-version: '3.4.4'
+ python-version: '3.7'
architecture: 'x86'
- name: Upgrade pip and enable wheel support
- run: python -m pip install pip==19.1.1 setuptools==43.0.0 wheel==0.33.6
- - name: Install Requirements for 32 Bit
- run: pip install pyinstaller==3.5 mutagen==1.42.0 pycryptodome==3.9.4 pefile==2019.4.18
+ run: python -m pip install --upgrade pip setuptools wheel
+ - name: Install Requirements
+ run: pip install "https://yt-dlp.github.io/pyinstaller-builds/i686/pyinstaller-4.5.1-py3-none-any.whl" mutagen pycryptodome websockets
- name: Bump version
id: bump_version
run: python devscripts/update-version.py