Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check-out repository
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax
cache: 'pip'
cache-dependency-path: |
dockerfiles/requirements*.txt

- name: Install Dependencies
run: |
pip install -r dockerfiles/requirements.txt
pip install pyinstaller

- name: build
run: |
pyinstaller ./cmd/main.py

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
path: |
build/main/main