|
35 | 35 | with: |
36 | 36 | name: manylinux-wheels |
37 | 37 | path: dist/*manylinux*.whl |
38 | | - |
39 | | - - name: Delete Artifact |
40 | | - uses: actions/github-script@v7 |
41 | | - with: |
42 | | - script: | |
43 | | - github.rest.actions.deleteArtifact({ |
44 | | - owner: context.repo.owner, |
45 | | - repo: context.repo.repo, |
46 | | - artifact_id: ${{ steps.artifact-upload.outputs.artifact-id }} |
47 | | - }); |
| 38 | + overwrite: true |
48 | 39 |
|
49 | 40 | build-macos: |
50 | 41 | runs-on: ${{ matrix.platform }} |
|
74 | 65 | with: |
75 | 66 | name: macos-wheels |
76 | 67 | path: dist/*.whl |
77 | | - |
78 | | - - name: Delete Artifact |
79 | | - uses: actions/github-script@v7 |
80 | | - with: |
81 | | - script: | |
82 | | - github.rest.actions.deleteArtifact({ |
83 | | - owner: context.repo.owner, |
84 | | - repo: context.repo.repo, |
85 | | - artifact_id: ${{ steps.artifact-upload.outputs.artifact-id }} |
86 | | - }); |
| 68 | + overwrite: true |
87 | 69 |
|
88 | 70 | build-windows: |
89 | 71 | runs-on: ${{ matrix.platform }} |
@@ -119,16 +101,7 @@ jobs: |
119 | 101 | with: |
120 | 102 | name: windows-wheels |
121 | 103 | path: dist/*.whl |
122 | | - |
123 | | - - name: Delete Artifact |
124 | | - uses: actions/github-script@v7 |
125 | | - with: |
126 | | - script: | |
127 | | - github.rest.actions.deleteArtifact({ |
128 | | - owner: context.repo.owner, |
129 | | - repo: context.repo.repo, |
130 | | - artifact_id: ${{ steps.artifact-upload.outputs.artifact-id }} |
131 | | - }); |
| 104 | + overwrite: true |
132 | 105 |
|
133 | 106 | upload-to-pypi: |
134 | 107 | needs: [build-manylinux, build-macos, build-windows] |
|
0 commit comments