- improved installation process #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CLI (Windows x32, x64) | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build-pornfetch-cli-windows-x64: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.11 x64 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
architecture: x64 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller | |
pip install -r requirements_cli.txt | |
- name: Build Porn Fetch (CLI - Windows - X64) (PyInstaller) | |
run: | | |
pyinstaller -F Porn_Fetch_CLI.py && cd dist && mv Porn_Fetch_CLI.exe PornFetch_Windows_CLI_x64.exe | |
- name: Archive Porn Fetch CLI (Windows X64) build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PornFetch_Windows_CLI_x64 | |
path: dist/PornFetch_Windows_CLI_x64.exe | |
build-pornfetch-cli-windows-x32: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.11 x32 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
architecture: x86 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller | |
pip install -r requirements_cli.txt | |
- name: Build Porn Fetch (CLI - Windows - X32) (PyInstaller) | |
run: | | |
pyinstaller -F Porn_Fetch_CLI.py && cd dist && mv Porn_Fetch_CLI.exe PornFetch_Windows_CLI_x32.exe | |
- name: Archive Porn Fetch CLI (Windows X32) build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PornFetch_Windows_CLI_x32 | |
path: dist/PornFetch_Windows_CLI_x32.exe |