Skip to content

Commit

Permalink
trusted pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Jul 18, 2023
1 parent faaf369 commit 954f97e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/publish.yaml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# .github/workflows/ci-cd.yml
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/agentmemory
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 954f97e

Please sign in to comment.