Skip to content

Update ci.yml

Update ci.yml #6

Workflow file for this run

name: Python CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Package main.py
run: |
pyinstaller --onefile main.py
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: linux-binary-file
path: |
dist