Skip to content

Commit 1166a49

Browse files
committed
disable pypi publication for now
1 parent 64803cd commit 1166a49

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

.github/workflows/build-python-package.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -59,51 +59,51 @@ jobs:
5959
name: wheel-${{ matrix.os }}
6060
path: ./wheelhouse
6161

62-
build_sdist:
63-
name: Build source distribution
64-
runs-on: ubuntu-latest
65-
steps:
66-
- uses: actions/checkout@v4
67-
68-
- uses: actions/setup-python@v5
69-
name: Install Python
70-
with:
71-
python-version: '3.10'
72-
73-
- name: Build sdist
74-
run: cd src/runtime/python && python setup.py sdist
75-
76-
- uses: actions/upload-artifact@v4
77-
with:
78-
name: wheel-source
79-
path: ./src/runtime/python/dist/*.tar.gz
80-
81-
upload_pypi:
82-
name: Upload to PyPI
83-
needs: [build_wheels, build_sdist]
84-
runs-on: ubuntu-latest
85-
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
86-
87-
steps:
88-
- uses: actions/checkout@v4
89-
90-
- name: Set up Python
91-
uses: actions/setup-python@v5
92-
with:
93-
python-version: '3.x'
94-
95-
- name: Install twine
96-
run: pip install twine
97-
98-
- uses: actions/[email protected]
99-
with:
100-
pattern: wheel-*
101-
merge-multiple: true
102-
path: ./dist
103-
104-
- name: Publish
105-
env:
106-
TWINE_USERNAME: __token__
107-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
108-
run: |
109-
twine upload --verbose --non-interactive --skip-existing dist/*
62+
# build_sdist:
63+
# name: Build source distribution
64+
# runs-on: ubuntu-latest
65+
# steps:
66+
# - uses: actions/checkout@v4
67+
68+
# - uses: actions/setup-python@v5
69+
# name: Install Python
70+
# with:
71+
# python-version: '3.10'
72+
73+
# - name: Build sdist
74+
# run: cd src/runtime/python && python setup.py sdist
75+
76+
# - uses: actions/upload-artifact@v4
77+
# with:
78+
# name: wheel-source
79+
# path: ./src/runtime/python/dist/*.tar.gz
80+
81+
# upload_pypi:
82+
# name: Upload to PyPI
83+
# needs: [build_wheels, build_sdist]
84+
# runs-on: ubuntu-latest
85+
# if: github.ref == 'refs/heads/master' && github.event_name == 'push'
86+
87+
# steps:
88+
# - uses: actions/checkout@v4
89+
90+
# - name: Set up Python
91+
# uses: actions/setup-python@v5
92+
# with:
93+
# python-version: '3.x'
94+
95+
# - name: Install twine
96+
# run: pip install twine
97+
98+
# - uses: actions/[email protected]
99+
# with:
100+
# pattern: wheel-*
101+
# merge-multiple: true
102+
# path: ./dist
103+
104+
# - name: Publish
105+
# env:
106+
# TWINE_USERNAME: __token__
107+
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
108+
# run: |
109+
# twine upload --verbose --non-interactive --skip-existing dist/*

0 commit comments

Comments
 (0)