Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueCSJ committed Nov 7, 2023
1 parent 8a629bd commit baa8e9d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Release

on:
push:
branches:
- main # or the name of your default branch

jobs:
build:
runs-on: windows-latest

steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11' # Specify Python 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pandas scipy matplotlib numpy pyinstaller
- name: Build Executable with PyInstaller
run: pyinstaller --onefile --windowed ORCASpectrumPlot.py

- name: Upload Executable Artifact
uses: actions/upload-artifact@v2
with:
name: ORCASpectrumPlot-Windows
path: dist/ORCASpectrumPlot.exe

0 comments on commit baa8e9d

Please sign in to comment.