From 4eb41e63855e056c2958c56dd3cdd04ae93a897c Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sat, 18 May 2024 08:41:20 +0200 Subject: [PATCH] Create pypi-publish.yml --- .github/workflows/pypi-publish.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pypi-publish.yml diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml new file mode 100644 index 0000000..d62150b --- /dev/null +++ b/.github/workflows/pypi-publish.yml @@ -0,0 +1,22 @@ +name: Upload Package to PyPi +on: + workflow_run: + workflows: [CI validation] + branches: [master] + types: + - completed + +permissions: + contents: read + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.x' + - name: Publish package + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29