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 }}