Skip to content

Commit

Permalink
Add test build script
Browse files Browse the repository at this point in the history
  • Loading branch information
kruscpe1 committed Apr 15, 2024
1 parent 25e872b commit b348123
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test-build Python Package

on: push

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10

- name: Install dependencies
run: pip install build=0.7.0 pep517 setuptools wheel

- name: Build PyPI release
run: python -m build

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Python-package
path: dist

0 comments on commit b348123

Please sign in to comment.