Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
louisa-uno authored Dec 10, 2023
1 parent b52d7bb commit 1219e16
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build executable with PyInstaller
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build the executables
run: cmd.exe /c 'build'
- name: Upload the executables
uses: actions/upload-artifact@v2
with:
name: executables
path: dist/*.exe

0 comments on commit 1219e16

Please sign in to comment.