Skip to content

Commit

Permalink
ci: all the ops-scenario publish actions need to be done in testing/ (c…
Browse files Browse the repository at this point in the history
…anonical#1479)

The build step is already done in `./testing/`, but the publish and
attestation steps are not, which mean they fail because they cannot find
the `dists` folder.
  • Loading branch information
tonyandrewmeyer authored Dec 1, 2024
1 parent 8be2990 commit a74e230
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-ops-scenario.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +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
1 change: 1 addition & 0 deletions .github/workflows/test-publish-ops-scenario.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +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/

0 comments on commit a74e230

Please sign in to comment.