diff --git a/.github/workflows/executables.yml b/.github/workflows/executables.yml index 7a8a83ac..6b2c8de2 100644 --- a/.github/workflows/executables.yml +++ b/.github/workflows/executables.yml @@ -9,24 +9,31 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] + os: ["windows-latest", "ubuntu-latest", "macOS-latest"] + python-version: ["3.9"] + architecture: ["x64"] + include: + - os: "windows-2016" + python-version: "3.8" + architecture: "x86" steps: - uses: actions/checkout@v2 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} ${{ matrix.architecture }} uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} + architecture: ${{ matrix.architecture }} - name: Build executable run: | - pip install requests requests[socks] urllib3==1.25.11 yt-dlp pyinstaller + pip install requests==2.25.1 requests[socks] urllib3==1.25.11 yt-dlp pyinstaller python scripts/pyinstaller.py - name: Upload executable uses: actions/upload-artifact@v2 with: - name: gallery-dl-${{ matrix.os }} + name: gallery-dl-${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.python-version }} path: | dist