From 1ad8a9ed10b510004886b18df17ceee05027ccfb Mon Sep 17 00:00:00 2001 From: Ezeudoh Tochukwu Date: Tue, 19 Nov 2024 06:10:58 +0100 Subject: [PATCH] updated publish.yaml --- .github/workflows/publish.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e202e80..dc7c61a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,9 +17,14 @@ jobs: - name: Install Flit run: pip install flit - name: Install Dependencies - run: flit install --symlink + run: make install + - name: Install build dependencies + run: pip install build + - name: Build distribution + run: python -m build - name: Publish - env: - FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }} - FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }} - run: flit publish \ No newline at end of file + uses: pypa/gh-action-pypi-publish@v1.11.0 + with: + password: ${{ secrets.PYPI_API_TOKEN }} + - name: Deploy Documentation + run: make doc-deploy