feat: multi platform build #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Linux Executable | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Build Linux Executable | |
run: | | |
pyinstaller --name SCannerAdapter --onefile main.py | |
- name: Archive Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: executables | |
path: dist/ |