0.0.8 #6
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 and Upload | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies (Windows) | |
run: | | |
pip install pyinstaller | |
pip install -r requirements.txt | |
- name: Build with PyInstaller (Windows) | |
run: | | |
python -m PyInstaller -F -i PyBuild/icon.ico -n FeedTheForge-Windows --add-data feedtheforge/lang:feedtheforge/lang __main__.py | |
- name: Upload (Windows) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: FeedTheForge-Windows | |
path: dist/FeedTheForge-Windows.exe | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies (macOS) | |
run: | | |
pip install pyinstaller | |
pip install -r requirements.txt | |
- name: Build with PyInstaller (macOS) | |
run: | | |
python -m PyInstaller -F -i PyBuild/icon.icns -n FeedTheForge-macOS --add-data feedtheforge/lang:feedtheforge/lang __main__.py | |
- name: Upload (macOS) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: FeedTheForge-macOS | |
path: dist/FeedTheForge-macOS | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies (Linux) | |
run: | | |
pip install pyinstaller | |
pip install -r requirements.txt | |
- name: Build with PyInstaller (Linux) | |
run: | | |
python -m PyInstaller -F -n FeedTheForge-Linux --add-data feedtheforge/lang:feedtheforge/lang __main__.py | |
- name: Upload (Linux) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: FeedTheForge-Linux | |
path: dist/FeedTheForge-Linux |