Skip to content

Commit 87ec9ed

Browse files
Merge pull request #24 from AgoraIO-Conversational-AI/release/v1.4.0
Release/v1.4.0
2 parents 1d51b55 + 93ee96c commit 87ec9ed

83 files changed

Lines changed: 2522 additions & 1257 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.

.fernignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ src/agora_agent/agentkit/
99

1010
# Documentation - managed manually, not generated by Fern
1111
docs/
12+
13+
# Dependency manifests/lockfiles are managed manually
14+
pyproject.toml
15+
poetry.lock
16+
requirements.txt

.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)