Skip to content

Maintenance

Maintenance #13

Workflow file for this run

name: Release PyPI & Build a package by PyInstaller
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
linux-pyinstaller-build:
runs-on: ubuntu-latest
if: startsWith(github.event.head_commit.message, 'Release') || startsWith(github.event.head_commit.message, 'Build')
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: install dependencies
run: |
python3.11 -m pip install pyinstaller WebtoonScraper[full]
- name: Build PyInstaller
run: |
pyinstaller -c pyinstaller.py
- uses: actions/upload-artifact@v4
with:
name: linux-portable
path: dist/pyinstaller
windows-pyinstaller-build:
runs-on: windows-latest
if: startsWith(github.event.head_commit.message, 'Release') || startsWith(github.event.head_commit.message, 'Build')
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: install dependencies
run: |
py -3.11 -m pip install pyinstaller WebtoonScraper[full]
- name: Build PyInstaller
run: |
pyinstaller -c pyinstaller.py
- uses: actions/upload-artifact@v4
with:
name: windows-portable
path: dist/pyinstaller
macos-pyinstaller-build:
runs-on: macos-latest
if: startsWith(github.event.head_commit.message, 'Release') || startsWith(github.event.head_commit.message, 'Build')
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: install dependencies
run: |
python3.11 -m pip install pyinstaller WebtoonScraper[full]
- name: Build PyInstaller
run: |
pyinstaller -c pyinstaller.py
- uses: actions/upload-artifact@v4
with:
name: macos-portable
path: dist/pyinstaller