Files
gallery-dl/.github/workflows/executables.yml
Mike Fährmann 0a9af56e3c build executables on GitHub Actions with Python 3.8
Python 3.9 is incompatible with Windows 7, so using a lower
Python version maybe allows those files to run on Windows 7.
2021-03-27 18:31:15 +01:00

33 lines
638 B
YAML

name: executables
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Build executable
run: |
pip install requests urllib3==1.25.11 youtube-dl pyinstaller
python scripts/pyinstaller.py
- name: Upload executable
uses: actions/upload-artifact@v2
with:
name: gallery-dl-${{ matrix.os }}
path: |
dist