blob: 23d1dc591b78c79f8913b95364f327dbca103c7a (
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
27
|
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:
body: Standalone Windows Binary
files: ./dist/epy-win.exe
token: ${{ secrets.GITHUB_TOKEN }}
|