Attest Khoj pypi package by upgrading pypi publish gh action

- Print hash in CI to ease verifying ci built python package matches
  khoj package published on pypi
- Newer pypi publish github action should speed up workflow by ~30s
This commit is contained in:
Debanjum 2024-12-17 13:28:50 -08:00
parent 2e80a1ce7c
commit 10bd56d2b9

View file

@ -75,6 +75,7 @@ jobs:
- name: 📦 Publish Python Package to PyPI - name: 📦 Publish Python Package to PyPI
if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master' if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master'
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1.12
with: with:
skip-existing: true skip-existing: true
print-hash: true