From 7bead8b6a8309511cad7d44a02a6d721c6d16a33 Mon Sep 17 00:00:00 2001 From: Nathan Spencer Date: Mon, 2 Oct 2023 11:21:33 -0600 Subject: [PATCH] Update publish GHA --- .github/workflows/python-publish.yml | 7 +++---- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ddd4e0f..e8ec6ec 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -12,13 +12,12 @@ permissions: contents: read jobs: - build: + publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Build and publish to pypi - uses: JRubics/poetry-publish@v1.16 + uses: JRubics/poetry-publish@v1.17 with: - poetry_version: "==1.5.1" pypi_token: ${{ secrets.PYPI_TOKEN }} - plugins: "poetry-dynamic-versioning-plugin" + plugins: "poetry-dynamic-versioning[plugin]" diff --git a/pyproject.toml b/pyproject.toml index ab05cf8..4630ac0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,5 +38,5 @@ vcs = "git" style = "semver" [build-system] -requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"] +requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] build-backend = "poetry_dynamic_versioning.backend"