Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummientchen authored May 20, 2024
1 parent 8e4b4eb commit 874b137
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Build executable for Windows'

on:
workflow_dispatch:
push:
branches:
- main

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
pyinstaller-build:
runs-on: windows-latest
steps:
- name: Create Executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.11.5'
spec: 'presentmon-graph.py'
requirements: 'requirements.txt'
upload_exe_with_name: 'PresentMon-Grapher'
options: --onefile, --name "PresentMon-Grapher"

0 comments on commit 874b137

Please sign in to comment.