From 35d8387d5ec7799fd237e6638b3450fcf1f92a43 Mon Sep 17 00:00:00 2001 From: Ronnie V Date: Sun, 5 Nov 2023 16:57:04 +0800 Subject: [PATCH] ci(pypi-release.yml): add build steps (#4) --- .github/workflows/pypi-release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index cc893b7..dbb89e2 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -20,6 +20,21 @@ jobs: id-token: write steps: + - uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build + + - name: Build package + run: python -m build + # publish to test pypi repo - name: Publish package distributions to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1