diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml new file mode 100644 index 0000000..12a31e1 --- /dev/null +++ b/.github/workflows/build-release.yml @@ -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 +