From 7648de168d07d18ddc09559ea07ffd0e1670b811 Mon Sep 17 00:00:00 2001 From: tomciardi Date: Sat, 19 Oct 2024 15:57:59 -0400 Subject: [PATCH] added build to publish reqs --- .github/workflows/publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee5437c..916cf40 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,10 +11,10 @@ jobs: environment: name: pypi url: https://pypi.org/p/pointextract - permissions: - id-token: write steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # setuptools_scm to determine the version - name: Set up Python uses: actions/setup-python@v4 with: @@ -22,10 +22,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel + pip install setuptools wheel build setuptools_scm - name: Build package - run: | - python -m build + run: python -m build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: