[llvm-branch-commits] [llvm] release/22.x: worklows/release-tasks: Remove the release-lit workflow (#174644) (PR #176049)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 14 14:35:55 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport a331728c7a68a08c621070b9cab5cf1f72b425e2

Requested by: @<!-- -->tstellar

---
Full diff: https://github.com/llvm/llvm-project/pull/176049.diff


2 Files Affected:

- (removed) .github/workflows/release-lit.yml (-79) 
- (modified) .github/workflows/release-tasks.yml (-10) 


``````````diff
diff --git a/.github/workflows/release-lit.yml b/.github/workflows/release-lit.yml
deleted file mode 100644
index b1f574673afe1..0000000000000
--- a/.github/workflows/release-lit.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-name: Release Lit
-
-permissions:
-  contents: read
-
-on:
-  workflow_dispatch:
-    inputs:
-      release-version:
-        description: 'Release Version'
-        required: true
-        type: string
-
-  workflow_call:
-    inputs:
-      release-version:
-        description: 'Release Version'
-        required: true
-        type: string
-    secrets:
-      RELEASE_TASKS_USER_TOKEN:
-        description: "Secret used to check user permissions."
-        required: false
-
-jobs:
-  release-lit:
-    name: Release Lit
-    runs-on: ubuntu-24.04
-    steps:
-      - name: Checkout LLVM
-        uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
-        with:
-          ref: "llvmorg-${{ inputs.release-version }}"
-
-      - name: Install dependencies
-        run: |
-          sudo apt-get update
-          sudo apt-get install -y python3-setuptools python3-psutil python3-github
-
-      - name: Check Permissions
-        env:
-          GITHUB_TOKEN: ${{ github.token }}
-          USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
-        run: |
-          ./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} --user-token "$USER_TOKEN" check-permissions
-
-      - name: Setup Cpp
-        uses: aminya/setup-cpp at 9bc9b8cd8a8d678f920e4e1e73f29da8010ced51 # v1.7.2
-        with:
-          compiler: llvm-16.0.6
-          cmake: true
-          ninja: true
-
-      - name: Test lit
-        run: |
-          mkdir build && cd build
-          export FILECHECK_OPTS='-dump-input-filter=all -vv -color'
-          cmake ../llvm -DCMAKE_BUILD_TYPE=Release -G Ninja
-          ninja -v -j $(nproc) check-lit
-
-      - name: Package lit
-        run: |
-          cd llvm/utils/lit
-          # Remove 'dev' suffix from lit version.
-          sed -i 's/ + "dev"//g' lit/__init__.py
-          python3 setup.py sdist bdist_wheel
-
-      - name: Upload lit to test.pypi.org
-        uses: pypa/gh-action-pypi-publish at ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
-        with:
-          password: ${{ secrets.LLVM_LIT_TEST_PYPI_API_TOKEN }}
-          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 ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
-        with:
-          password: ${{ secrets.LLVM_LIT_PYPI_API_TOKEN }}
-          packages-dir: llvm/utils/lit/dist/
diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml
index b27cd977efdb6..ca8bcfa2c04c9 100644
--- a/.github/workflows/release-tasks.yml
+++ b/.github/workflows/release-tasks.yml
@@ -73,16 +73,6 @@ jobs:
     secrets:
       RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
 
-  release-lit:
-    name: Release Lit
-    needs: validate-tag
-    uses: ./.github/workflows/release-lit.yml
-    with:
-      release-version: ${{ needs.validate-tag.outputs.release-version }}
-    # Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
-    secrets:
-      RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
-
   release-binaries:
     name: Build Release Binaries
     permissions:

``````````

</details>


https://github.com/llvm/llvm-project/pull/176049


More information about the llvm-branch-commits mailing list