From 810247b1e4a8d1859f6708a82bb9d3b3dc0283e0 Mon Sep 17 00:00:00 2001 From: endomorphosis Date: Wed, 24 Jul 2024 03:05:31 -0700 Subject: [PATCH] update --- .github/workflows/publish_to_pipy.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_to_pipy.yml b/.github/workflows/publish_to_pipy.yml index 0f5e9c5..805e9c4 100644 --- a/.github/workflows/publish_to_pipy.yml +++ b/.github/workflows/publish_to_pipy.yml @@ -23,7 +23,16 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.x" - + - name: Install dependencies + run: python -m pip install --upgrade pip setuptools wheel + - name: Build the package + run: python setup.py sdist bdist_wheel + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: python-package-distributions + path: dist/ + publish-to-pypi: name: Publish Python 🐍 distribution 📦 to PyPI if: github.ref == 'refs/heads/main' # only publish to PyPI on pushes to main branch @@ -31,7 +40,7 @@ jobs: runs-on: ubuntu-latest environment: name: pypi - url: https://pypi.org/p/ipfs-datasets # Replace with your PyPI project name + url: https://pypi.org/p/ipfs_transformers # Replace with your PyPI project name permissions: id-token: write # IMPORTANT: mandatory for trusted publishing steps: