From 243d71a1aa25c0b8f16a9dc6392ef6f7f231ee99 Mon Sep 17 00:00:00 2001 From: Suraj Pai Date: Tue, 26 Mar 2024 07:29:54 -0400 Subject: [PATCH] Delete .github/workflows/release-publish.yml --- .github/workflows/release-publish.yml | 50 --------------------------- 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/release-publish.yml diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml deleted file mode 100644 index ca0ced1..0000000 --- a/.github/workflows/release-publish.yml +++ /dev/null @@ -1,50 +0,0 @@ -# This workflow will upload a Python Package using Twine when a release is created -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -name: Upload Python Package - -on: - release: - types: [published] - -permissions: - contents: read - -jobs: - deploy: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: '3.9' - - - name: Install poetry - run: make setup - - - name: Bump version - run: | - poetry version major - - - name: Commit & push changes - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add . - git commit -m "Release versioning update" || echo "No changes to commit" - git push origin HEAD:master - - - name: Build and publish to pypi - uses: JRubics/poetry-publish@v1.16 - with: - python_version: 3.9 - pypi_token: ${{ secrets.PYPI_TOKEN }} - ignore_dev_requirements: "yes"