@@ -46,42 +46,42 @@ jobs:
4646 env :
4747 NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
4848
49- publish-python :
50- runs-on : ubuntu-latest
51- permissions :
52- contents : write # Needed to upload release assets
53- steps :
54- - uses : actions/checkout@v4
49+ # publish-python:
50+ # runs-on: ubuntu-latest
51+ # permissions:
52+ # contents: write # Needed to upload release assets
53+ # steps:
54+ # - uses: actions/checkout@v4
5555
56- - name : Set up Python
57- uses : actions/setup-python@v4
58- with :
59- python-version : ' 3.9'
56+ # - name: Set up Python
57+ # uses: actions/setup-python@v4
58+ # with:
59+ # python-version: '3.9'
6060
61- - name : Install build dependencies
62- run : |
63- python -m pip install --upgrade pip
64- pip install build toml twine
61+ # - name: Install build dependencies
62+ # run: |
63+ # python -m pip install --upgrade pip
64+ # pip install build toml twine
6565
66- - name : Update Version
67- run : |
68- # Extract version from tag (e.g. v1.0.0 -> 1.0.0)
69- VERSION=${GITHUB_REF#refs/tags/v}
70- echo "Setting version to $VERSION"
66+ # - name: Update Version
67+ # run: |
68+ # # Extract version from tag (e.g. v1.0.0 -> 1.0.0)
69+ # VERSION=${GITHUB_REF#refs/tags/v}
70+ # echo "Setting version to $VERSION"
7171
72- # Patch pyproject.toml
73- # Using python one-liner to edit toml since no simple cli tool might be present
74- python -c "import toml; d=toml.load('pyproject.toml'); d['project']['version']='$VERSION'; toml.dump(d, open('pyproject.toml','w'))"
75- working-directory : ./python
72+ # # Patch pyproject.toml
73+ # # Using python one-liner to edit toml since no simple cli tool might be present
74+ # python -c "import toml; d=toml.load('pyproject.toml'); d['project']['version']='$VERSION'; toml.dump(d, open('pyproject.toml','w'))"
75+ # working-directory: ./python
7676
77- - name : Build Python Package
78- run : python -m build
79- working-directory : ./python
77+ # - name: Build Python Package
78+ # run: python -m build
79+ # working-directory: ./python
8080
81- - name : Publish to PyPI
82- if : github.event_name == 'release'
83- env :
84- TWINE_USERNAME : __token__
85- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
86- run : |
87- twine upload python/dist/*
81+ # - name: Publish to PyPI
82+ # if: github.event_name == 'release'
83+ # env:
84+ # TWINE_USERNAME: __token__
85+ # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
86+ # run: |
87+ # twine upload python/dist/*
0 commit comments