added logging system #105
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: '>=3.10' | |
- name: Install dependencies | |
run: | | |
pip install pyinstaller -r requirements.txt | |
- name: Build with PyInstaller | |
run: | | |
pyinstaller --add-binary "7z/7z.exe;7z" --onefile main.py --name DazContentInstaller | |
- name: Create package directory | |
run: mkdir -p dist/DazContentInstaller | |
- name: Copy config.ini file | |
run: cp config.ini dist/DazContentInstaller/ | |
- name: Move the built binary | |
run: mv dist/DazContentInstaller.exe dist/DazContentInstaller/ | |
- name: Upload Artifacts | |
uses: actions/[email protected] | |
with: | |
name: DazContentInstaller | |
path: dist/ |