Skip to content

Release of version 0.0.1 #1

Release of version 0.0.1

Release of version 0.0.1 #1

Workflow file for this run

name: Publish Python Package to PyPI
on:
release:
types: [published]
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
secrets: read

Check failure on line 13 in .github/workflows/python_publish.yml

View workflow run for this annotation

GitHub Actions / Publish Python Package to PyPI

Invalid workflow file

The workflow is not valid. .github/workflows/python_publish.yml (Line: 13, Col: 7): Unexpected value 'secrets'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build Core package
working-directory: sdks/core/python
run: python setup.py sdist bdist_wheel
- name: Publish Core package to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
working-directory: sdks/core/python
run: twine upload dist/*