Skip to content

Commit d29e49c

Browse files
authored
Merge pull request #481 from effigies/fix/baipp
chore(ci): Remove build debris to avoid confusing twine
2 parents affe0d3 + 9fa6f94 commit d29e49c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_test_deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,20 @@ jobs:
5555
# If 2.9 is required, then we will need to pin to hatchling 1.26.x to avoid
5656
# incompatibilities with twine and the package metadata emitted by hatchiling.
5757
- uses: hynek/build-and-inspect-python-package@v2
58+
id: build-smriprep
5859
with:
5960
upload-name-suffix: -main
6061
attest-build-provenance-github: ${{ github.event_name != 'pull_request' }}
62+
- name: Clean up package build
63+
run: rm -r ${{ steps.build-smriprep.outputs.dist }}
6164
- uses: hynek/build-and-inspect-python-package@v2
65+
id: build-wrapper
6266
with:
6367
path: wrapper
6468
upload-name-suffix: -wrapper
6569
attest-build-provenance-github: ${{ github.event_name != 'pull_request' }}
70+
- name: Clean up wrapper build
71+
run: rm -r ${{ steps.build-wrapper.outputs.dist }}
6672

6773
test:
6874
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)