Skip to content

Commit

Permalink
add GitHub Actions workflow for building standalone executables
Browse files Browse the repository at this point in the history
maybe this actually works first try ...

(#1312)
  • Loading branch information
mikf committed Feb 16, 2021
1 parent b3bbde2 commit 04e7a7c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/executables.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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.9

- 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

0 comments on commit 04e7a7c

Please sign in to comment.