Skip to content

Commit

Permalink
Build release zip.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hale committed Jan 29, 2024
1 parent 8e106ec commit 4a59cd6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,19 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.11
- name: Run tests
run: |
export PYTHONPATH=src/modules
python -m unittest discover tests
- name: Build zip
run: |
mkdir dist
mkdir dist/pyscript
cp -R src/* dist/pyscript/
zip -r agile-powerwall.zip dist/*
- name: Release zips
uses: softprops/action-gh-release@v1
with:
files: |
agile-powerwall.zip

0 comments on commit 4a59cd6

Please sign in to comment.