From d40a7dd8fa99195cc38b365e6926b5862cb014a0 Mon Sep 17 00:00:00 2001 From: Kamil Kozik Date: Thu, 13 Feb 2025 16:10:23 +0100 Subject: [PATCH] update `publish.yml` action --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 19220b91..6478d407 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.13 - name: Install dependencies run: python -m pip install --upgrade pip build - name: Generate Lark Parser @@ -23,12 +23,12 @@ jobs: - name: Build tarball run: python3 -m build - name: Publish to Test PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ skip_existing: true - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }}