Skip to content

Commit

Permalink
Create python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
natis1 authored Jun 5, 2020
1 parent b163823 commit 9c9c005
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: PyInstaller

on: [push]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: build with pyinstaller
run: |
pyinstaller --onefile qenc.py --icon=app.ico
- uses: actions/upload-artifact@v2
with:
name: qencoder.exe
path: dist/qenc.exe

0 comments on commit 9c9c005

Please sign in to comment.