From 6109a90800f706cc4bbc21e8c48ae6b738c4ce79 Mon Sep 17 00:00:00 2001 From: aghand0ur Date: Fri, 22 Mar 2024 08:11:11 +0200 Subject: [PATCH] Delete publish-to-pypi.yml --- .github/workflows/publish-to-pypi.yml | 34 --------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/publish-to-pypi.yml diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml deleted file mode 100644 index 7c06729..0000000 --- a/.github/workflows/publish-to-pypi.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Publish Python 🐍 distributions 📦 to PyPI - -on: - push: - tags: - - '*' - -jobs: - build-n-publish: - name: Build and publish Python 🐍 distributions 📦 to PyPI - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Set up Python 3.10 - uses: actions/setup-python@v3 - with: - python-version: '3.10' - - name: Install pypa/setuptools - run: >- - python -m - pip install wheel - - name: Extract tag name - id: tag - run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3) - - name: Update version in setup.py - run: >- - sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" setup.py - - name: Build a binary wheel - run: >- - python setup.py sdist bdist_wheel - - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file