Update python-app.yml

This commit is contained in:
Jan Grewe 2021-03-07 12:38:59 +01:00 committed by GitHub
parent 8f8b6e497a
commit a171089b89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,3 +32,20 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: create package
run: |
pyrcc5 resources.qrc resources.py
pyinstaller --onefile --windowed -i icons/blipblop_logo.icns --add_data="icons/blipblop_logo.png:." blipblop.py
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.2
with:
# Artifact name
name: blipblop-binary
# A file, directory or wildcard pattern that describes what to upload
path: |
dist
retention-days: 1