repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI |
| #2 | |
| #3 | on: |
| #4 | release: |
| #5 | types: [published] |
| #6 | |
| #7 | jobs: |
| #8 | build-n-publish: |
| #9 | name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI |
| #10 | runs-on: ubuntu-latest |
| #11 | permissions: |
| #12 | id-token: write |
| #13 | steps: |
| #14 | - uses: actions/checkout@v2 |
| #15 | |
| #16 | - name: Set up Python |
| #17 | uses: actions/setup-python@v2 |
| #18 | with: |
| #19 | python-version: '3.11' |
| #20 | |
| #21 | - name: Install Hatch |
| #22 | run: | |
| #23 | pip install hatch |
| #24 | |
| #25 | - name: Install dependencies |
| #26 | run: | |
| #27 | hatch env create |
| #28 | |
| #29 | - name: Build a binary wheel and a source tarball |
| #30 | run: | |
| #31 | hatch build --clean |
| #32 | |
| #33 | # TODO: Needs to setup mem0 repo on Test PyPI |
| #34 | # - name: Publish distribution 📦 to Test PyPI |
| #35 | # uses: pypa/gh-action-pypi-publish@release/v1 |
| #36 | # with: |
| #37 | # repository_url: https://test.pypi.org/legacy/ |
| #38 | # packages_dir: dist/ |
| #39 | |
| #40 | - name: Publish distribution 📦 to PyPI |
| #41 | if: startsWith(github.ref, 'refs/tags') |
| #42 | uses: pypa/gh-action-pypi-publish@release/v1 |
| #43 | with: |
| #44 | packages_dir: dist/ |
| #45 |