From 9f692b8e95278be0fa4e9e94427d4131c07fb59f Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Tue, 4 Jun 2024 15:49:50 +0200 Subject: [PATCH] solve release/v1 --- .github/workflows/python-publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 29a6526..236a2f8 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,6 +21,9 @@ jobs: packages: write checks: write runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/compress-python steps: - uses: actions/checkout@v4 - name: Set up Python @@ -34,6 +37,6 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@v1.8.10 + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file