Skip to content

Commit db97a6a

Browse files
SDK regeneration
1 parent 1d51b55 commit db97a6a

57 files changed

Lines changed: 1673 additions & 1177 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
1616
- name: Install dependencies
1717
run: poetry install
18-
- name: Validate docs
19-
run: poetry run python scripts/validate_docs.py
2018
- name: Compile
2119
run: poetry run mypy .
2220
test:
@@ -33,8 +31,30 @@ jobs:
3331
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
3432
- name: Install dependencies
3533
run: poetry install
36-
- name: Validate docs
37-
run: poetry run python scripts/validate_docs.py
3834

3935
- name: Test
4036
run: poetry run pytest -rP .
37+
38+
publish:
39+
needs: [compile, test]
40+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: Checkout repo
44+
uses: actions/checkout@v4
45+
- name: Set up python
46+
uses: actions/setup-python@v4
47+
with:
48+
python-version: 3.8
49+
- name: Bootstrap poetry
50+
run: |
51+
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
52+
- name: Install dependencies
53+
run: poetry install
54+
- name: Publish to pypi
55+
run: |
56+
poetry config repositories.remote https://upload.pypi.org/legacy/
57+
poetry --no-interaction -v publish --build --repository remote --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
58+
env:
59+
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
60+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

.github/workflows/release.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)