[llvm] workflows/release-task: Stop uploading lit to test.pypi.org (PR #214979)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 8 08:50:51 PDT 2026


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/214979

The gh-action-pypi-publish action only supports being run once per job.  Running it twice results in the second upload always failing. Rather than trying to create a complicated job structure to support uploading to test.pypi.org and pypi.org, we just remove the test.pypi.org upload for now.

>From 006b6f7c77f18688953afa22f8790aa3872b8482 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Sat, 8 Aug 2026 08:48:06 -0700
Subject: [PATCH] workflows/release-task: Stop uploading lit to test.pypi.org

The gh-action-pypi-publish action only supports being run once
per job.  Running it twice results in the second upload always failing.
Rather than trying to create a complicated job structure to support
uploading to test.pypi.org and pypi.org, we just remove the
test.pypi.org upload for now.
---
 .github/workflows/release-tasks.yml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml
index 932a9ffbe8601..a0582ffa3ca1a 100644
--- a/.github/workflows/release-tasks.yml
+++ b/.github/workflows/release-tasks.yml
@@ -143,12 +143,6 @@ jobs:
           path: |
             llvm/utils/lit/dist
 
-      - name: Upload lit to test.pypi.org
-        uses: pypa/gh-action-pypi-publish at cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
-        with:
-          repository-url: https://test.pypi.org/legacy/
-          packages-dir: llvm/utils/lit/dist/
-
       - name: Upload lit to pypi.org
         uses: pypa/gh-action-pypi-publish at cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
         with:



More information about the llvm-commits mailing list