Add "Create Executable" GitHub action for Windows (#116)

This commit is contained in:
2024-08-23 18:36:14 -05:00
committed by GitHub
parent e792698480
commit 6bdb488ce1
4 changed files with 21 additions and 24 deletions

17
.github/workflows/pyinstaller.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Create Executable (Windows)
on:
workflow_dispatch:
release:
jobs:
pyinstaller-build:
runs-on: windows-latest
steps:
- name: Create Executable (Windows)
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.11'
spec: 'main.spec'
requirements: 'requirements.txt'
upload_exe_with_name: 'Zordon'

View File

@@ -1,23 +0,0 @@
name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')