From 04e7a7c8a934c0acdfc41e8398422fa42118eb7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 16 Feb 2021 02:47:30 +0100 Subject: [PATCH] add GitHub Actions workflow for building standalone executables maybe this actually works first try ... (#1312) --- .github/workflows/executables.yml | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/executables.yml diff --git a/.github/workflows/executables.yml b/.github/workflows/executables.yml new file mode 100644 index 00000000..fbbd6747 --- /dev/null +++ b/.github/workflows/executables.yml @@ -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