Skip to content

Build and Release Executable #26

Build and Release Executable

Build and Release Executable #26

Workflow file for this run

name: Build and Release Executable
on:
workflow_dispatch:
jobs:
build-and-release:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build executable
run: |
pip install pyinstaller
pyinstaller --onefile --noconsole brightness_control.py
- name: Create Release and Upload Files
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: 1.3.11.11
name: "AutoBrightnessControl v1.3.11"
body: "The main change in version 1.3.x was adaptive brightness change depending on the content on the screen. I understand that not everyone needs such a feature, that's why there is an argument --adapt.\n\nAll brightness control functionality has been moved to the BrightnessController class, which has been moved to the bright_controller.py file.\n\nNow the application works correctly with both monitors that support brightness control and those that do not."
draft: false
prerelease: false
makeLatest: true
artifacts: |
dist/brightness_control.exe
create_task.bat