blob: 570a7c8ea3fd646ddba7d366c24ba5d3ee0a8880 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 epy-win epy.py
- name: Release Windows Binary
uses: softprops/action-gh-release@v1
with:
files: ./dist/epy-win.exe
token: ${{ secrets.GITHUB_TOKEN }}
|