1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 04:32:51 +01:00
gallery-dl/.github/workflows/executables.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

name: executables
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-latest", "macOS-latest"]
architecture: ["x64"]
2023-10-14 14:48:40 +02:00
python-version: ["3.12"]
python-packages: [""]
include:
- os: "ubuntu-latest"
architecture: "x64"
2023-10-14 14:48:40 +02:00
python-version: "3.12"
python-packages: "secretstorage"
- os: "windows-2019"
architecture: "x86"
python-version: "3.8"
python-packages: "toml"
steps:
2022-10-25 15:49:39 +02:00
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.architecture }}
2022-10-25 15:49:39 +02:00
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: Build executable
run: |
pip install requests requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller
python scripts/pyinstaller.py
- name: Upload executable
2022-10-25 15:49:39 +02:00
uses: actions/upload-artifact@v3
with:
name: gallery-dl-${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.python-version }}
path: |
dist