From add653668587745ed9c77fd3038d3026aef20cb6 Mon Sep 17 00:00:00 2001 From: Christopher Carroll Smith Date: Tue, 23 Apr 2024 15:39:45 -0400 Subject: [PATCH] Use PyPi API token since authorized publisher deployment isn't working --- .github/workflows/actions.yml | 6 ++++-- News | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 4fd503f..fb9805d 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -46,8 +46,10 @@ jobs: - name: Install and configure Poetry uses: snok/install-poetry@v1 - name: Publish to PyPi + env: + PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} run: | - poetry publish --build + poetry publish --build -u __token__ -p $PYPI_TOKEN if [ $? -ne 0 ]; then echo "Warning: Version has not been incremented. No new version published." - fi + fi \ No newline at end of file diff --git a/News b/News index 8b184de..a1ea8d8 100644 --- a/News +++ b/News @@ -4,8 +4,12 @@ - Updated dependencies +- Removed deprecated pkg_resources import + - Fixed a problem with pyproject.toml that was breaking CI/CD +- Implemented automated PyPi deployment with GitHub Actions + ## Version 1.1.0 - Implemented response mocking during unit tests