Skip to content

Commit

Permalink
Added workflow to build and release Windows binary
Browse files Browse the repository at this point in the history
  • Loading branch information
wustho committed Feb 15, 2022
1 parent a7e0549 commit 3438372
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release-win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Release Windows Binary

on:
workflow_dispatch:
push:
tags:
- v**

jobs:
deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install windows-curses pyinstaller
- name: Build binary
run: |
pyinstaller --onefile --name epr-win epr.py
- name: Release Windows Binary
uses: softprops/action-gh-release@v1
with:
files: ./dist/epr-win.exe
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3438372

Please sign in to comment.