From 44e469bbc2cf81f0fa9abb73ae17776db0379675 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 2 Jan 2026 13:18:01 -0500 Subject: [PATCH] fix: Correct working directory for semantic release. Fix the directory for the reusable plugin as well as for the pypi upload step. --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60466e5..9e84c27 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} git_committer_name: "github-actions" git_committer_email: "actions@users.noreply.github.com" - working-directory: './backend' + directory: './backend' - name: Publish | Upload to GitHub Release Assets uses: python-semantic-release/publish-action@v10.5.3 @@ -57,9 +57,8 @@ jobs: uses: actions/upload-artifact@v4 with: name: distribution-artifacts - path: dist + path: backend/dist if-no-files-found: error - working-directory: './backend' outputs: released: ${{ steps.release.outputs.released || 'false' }} @@ -83,11 +82,11 @@ jobs: id: artifact-download with: name: distribution-artifacts - path: dist + path: backend/dist - name: Publish to PyPi uses: pypa/gh-action-pypi-publish@release/v1 with: - packages-dir: dist + packages-dir: backend/dist user: __token__ password: ${{ secrets.PYPI_UPLOAD_TOKEN }}