Skip to content

docs(github-actions): add packages-dir configuration in monorepo example #1229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 18, 2025

Conversation

timonrieger
Copy link
Contributor

@timonrieger timonrieger commented Apr 6, 2025

Purpose

extends the github-actions monorepo documentation

Rationale

I followed the monorepo approach for configuring the github-actions workflow setting a specific directory for the build. I did not update the configuration in the pypi publish action, thus running into an error. With the fix provided this error could be resolved.

How did you test?

  1. Not passing the packages-dir line in the workflow >> FileNotFoundError: [Errno 2] No such file or directory: '/github/workspace/dist'
  2. Adding the configuration >> passed successfully
    https://github.com/marketplace/actions/pypi-publish#customizing-target-package-dists-directory

How to Verify


PR Completion Checklist

  • Reviewed & followed the Contributor Guidelines

  • Changes Implemented & Validation pipeline succeeds

  • Commits follow the Conventional Commits standard
    and are separated into the proper commit type and scope (recommended order: test, build, feat/fix, docs)

  • Appropriate Unit tests added/updated

  • Appropriate End-to-End tests added/updated

  • Appropriate Documentation added/updated and syntax validated for sphinx build (see Contributor Guidelines)

@codejedi365
Copy link
Contributor

I'm a little hesitant adding this to our examples as that action is not owned by Python Semantics Release but I can see the value of adding a more detailed example.

@codejedi365 codejedi365 merged commit 550e85f into python-semantic-release:master Apr 18, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants