Skip to content

Update

Update #24

Workflow file for this run

name: Test Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-windows:
permissions: write-all
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd ForrestHub-app
pip install -r requirements.txt
pip install pyinstaller
- name: Build with PyInstaller
run: |
cd ForrestHub-app
pyinstaller pyinstaller.spec
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ForrestHub-Windows
path: ForrestHub-app/dist/ForrestHub.exe
build-macos:
permissions: write-all
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd ForrestHub-app
pip install -r requirements.txt
pip install pyinstaller
- name: Build with PyInstaller
run: |
cd ForrestHub-app
pyinstaller pyinstaller.spec
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ForrestHub-macOS
path: ForrestHub-app/dist/ForrestHub