Skip to content

Commit 918efee

Browse files
committed
chore: Remove duplicate upload_to_pypi job from build.yml
The upload_to_pypi job is already present in conda-build.yml, which will supersede the Docker-based build.yml workflow.
1 parent 209becd commit 918efee

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,3 @@ jobs:
2525
uses: ./.github/reusable-build
2626
with:
2727
python-version: ${{ matrix.python-version }}
28-
29-
upload_to_pypi:
30-
name: Upload to PyPI
31-
runs-on: ubuntu-latest
32-
if: (github.event_name == 'release' && startsWith(github.ref, 'refs/tags')) || (github.event_name == 'workflow_dispatch')
33-
needs: [build]
34-
environment:
35-
name: pypi
36-
url: https://pypi.org/p/ml-metadata/
37-
permissions:
38-
id-token: write
39-
steps:
40-
- name: Retrieve wheels
41-
uses: actions/download-artifact@v4.1.8
42-
with:
43-
merge-multiple: true
44-
path: wheels
45-
46-
- name: List the build artifacts
47-
run: |
48-
ls -lAs wheels/
49-
50-
- name: Upload to PyPI
51-
uses: pypa/gh-action-pypi-publish@release/v1.9
52-
with:
53-
packages_dir: wheels/

0 commit comments

Comments
 (0)