Skip to content

Commit

Permalink
ci: correctly point PyPI publishing to the ops-scenario packages (#1514)
Browse files Browse the repository at this point in the history
`working-directory` is specifically for `run` steps. For the
`gh-action-pypi-publish` action, `with: packages-dir` should be used.
  • Loading branch information
tonyandrewmeyer authored Jan 8, 2025
1 parent 6536f2a commit 9bc00c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-ops-scenario.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
run: python -m build
working-directory: ./testing
- name: Attest build provenance
working-directory: ./testing
uses: actions/[email protected]
with:
subject-path: 'testing/dist/*'
- name: Publish
working-directory: ./testing
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./testing/dist/
2 changes: 1 addition & 1 deletion .github/workflows/test-publish-ops-scenario.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
subject-path: 'testing/dist/*'
- name: Publish to test.pypi.org
working-directory: ./testing
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: ./testing/dist/

0 comments on commit 9bc00c6

Please sign in to comment.