forked from mikf/gallery-dl
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 996 Bytes
/
executables.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: executables
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
python-version: ["3.10"]
architecture: ["x64"]
include:
- os: "windows-2019"
python-version: "3.8"
architecture: "x86"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.architecture }}
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 pyinstaller
python scripts/pyinstaller.py
- name: Upload executable
uses: actions/upload-artifact@v3
with:
name: gallery-dl-${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.python-version }}
path: |
dist