Skip to content

👁️ ThejasNU has pushed a new commit! #131

👁️ ThejasNU has pushed a new commit!

👁️ ThejasNU has pushed a new commit! #131

Workflow file for this run

name: publish
run-name: 👁️ ${{ github.actor }} has pushed a new commit!
on: [ push ]
jobs:
Pages:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: Set up Python Poetry
uses: mishaga/action-poetry@1
with:
python-version: "3.12"
poetry-version: "latest"
shell: "bash"
- name: Add Poetry to path
run: echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Config our publishing repo
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_KEY }}
# TODO (GLENN): See https://www.ianwootten.co.uk/2020/10/23/publishing-to-pypi-using-github-actions/
# TODO (GLENN): We need to add a step to make the agentc packages in pyproject.toml not relative.
# TODO (GLENN): We also need to figure out the versioning here (also to do with pyproject.toml files).
# - name: Build and publish the agentc_core package
# run: |
# cd libs/agentc_core
# poetry build
# poetry publish -r testpypi
#
# - name: Build and publish the agentc_cli package
# run: |
# cd libs/agentc_cli
# poetry build
# poetry publish -r testpypi
#
# - name: Build and publish the agentc_langchain package
# run: |
# cd libs/agentc_langchain
# poetry build
# poetry publish -r testpypi
#
# - name: Build and publish the agentc package
# run: |
# cd libs/agentc
# poetry build
# poetry publish -r testpypi