From a00d8eb3d66b0e19c8be3490c2c1f1e564949b35 Mon Sep 17 00:00:00 2001
From: havok2063 <havok2063@hotmail.com>
Date: Fri, 8 Mar 2024 12:07:48 -0500
Subject: [PATCH] updating the pypi workflow release

---
 .github/workflows/release.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c3d62c9..e01c012 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -11,6 +11,10 @@ jobs:
 
         runs-on: ubuntu-latest
 
+        permissions:
+          content: write
+          id-token: write
+
         steps:
 
             - name: Checkout code
@@ -43,7 +47,4 @@ jobs:
                 python setup.py sdist bdist_wheel --universal
 
             - name: Publish to PyPI
-              uses: pypa/gh-action-pypi-publish@master
-              with:
-                  user: __token__
-                  password: ${{ secrets.pypi_password }}
+              uses: pypa/gh-action-pypi-publish@release/v1