From a1f215abeacbaf8292cc328e2443cc334768d0a0 Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Mon, 19 Feb 2024 21:54:58 +0530 Subject: [PATCH] (ci/cd): added basic PyPI publish workflow --- .github/workflows/publish.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..bed7e32 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,16 @@ +on: + push: + branches: + - main + +name: 🚀 Publish to PyPI +jobs: + pypi-publish: + name: 🎉 Upload release to PyPI + runs-on: ubuntu-latest + environment: release + permissions: + id-token: write + steps: + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file