From 34fb6d095868717a9161fddecc9e5ce769277db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D1=8F=D1=82=D0=BA=D0=B8=D0=BD=D0=90=D1=80=D1=82?= =?UTF-8?q?=D1=91=D0=BC?= Date: Wed, 27 May 2026 17:43:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D0=B5=20=D0=BE=D0=BA=D1=80=D1=83=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3?= =?UTF-8?q?=D1=83=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20=D1=80=D0=B5=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=B0=20=D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D0=BE=D0=B2?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D0=B1=D0=BE=D0=BB=D0=B5=D0=B5=20=D1=83=D0=BD?= =?UTF-8?q?=D0=B8=D0=B2=D0=B5=D1=80=D1=81=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B?= =?UTF-8?q?=D0=B5=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f124920..399ca92 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -85,13 +85,13 @@ jobs: - name: Validate package registry configuration env: - GITEA_PYPI_REPOSITORY_URL: ${{ secrets.GITEA_PYPI_REPOSITORY_URL }} - GITEA_PACKAGE_USERNAME: ${{ secrets.GITEA_PACKAGE_USERNAME }} - GITEA_PACKAGE_TOKEN: ${{ secrets.GITEA_PACKAGE_TOKEN }} + PYPI_REPOSITORY_URL: ${{ secrets.PYPI_REPOSITORY_URL }} + PACKAGE_USERNAME: ${{ secrets.PACKAGE_USERNAME }} + PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }} run: | - test -n "$GITEA_PYPI_REPOSITORY_URL" || (echo "GITEA_PYPI_REPOSITORY_URL secret is required" && exit 1) - test -n "$GITEA_PACKAGE_USERNAME" || (echo "GITEA_PACKAGE_USERNAME secret is required" && exit 1) - test -n "$GITEA_PACKAGE_TOKEN" || (echo "GITEA_PACKAGE_TOKEN secret is required" && exit 1) + test -n "$PYPI_REPOSITORY_URL" || (echo "PYPI_REPOSITORY_URL secret is required" && exit 1) + test -n "$PACKAGE_USERNAME" || (echo "PACKAGE_USERNAME secret is required" && exit 1) + test -n "$PACKAGE_TOKEN" || (echo "PACKAGE_TOKEN secret is required" && exit 1) - name: Build distribution run: PATH="$HOME/.local/bin:$PATH" make build @@ -101,7 +101,7 @@ jobs: - name: Publish to Gitea PyPI registry env: - TWINE_REPOSITORY_URL: ${{ secrets.GITEA_PYPI_REPOSITORY_URL }} - TWINE_USERNAME: ${{ secrets.GITEA_PACKAGE_USERNAME }} - TWINE_PASSWORD: ${{ secrets.GITEA_PACKAGE_TOKEN }} + TWINE_REPOSITORY_URL: ${{ secrets.PYPI_REPOSITORY_URL }} + TWINE_USERNAME: ${{ secrets.PACKAGE_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PACKAGE_TOKEN }} run: PATH="$HOME/.local/bin:$PATH" uv run --with twine twine upload --skip-existing dist/* \ No newline at end of file