mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-03-14 18:37:23 +00:00
Update release-pypi.yml (#1721)
This commit is contained in:
4
.github/workflows/release-pypi.yml
vendored
4
.github/workflows/release-pypi.yml
vendored
@@ -23,7 +23,7 @@ permissions:
|
||||
jobs:
|
||||
build-kt-kernel:
|
||||
name: Build kt-kernel CPU-only (Python ${{ matrix.python-version }})
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
publish-pypi:
|
||||
name: Publish to PyPI
|
||||
needs: build-kt-kernel
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
if: github.repository == 'kvcache-ai/ktransformers' && github.ref == 'refs/heads/main'
|
||||
environment: prod
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user