Skip to content

Commit 144b1eb

Browse files
committed
test
1 parent 052c45c commit 144b1eb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/linux-release-artifacts.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ on:
4141
required: false
4242
type: boolean
4343
default: true
44+
channel:
45+
description: "Channel to use (nightly, test, release, all)"
46+
default: ""
47+
type: string
4448
# script:
4549
# description: 'Script to utilize'
4650
# default: "python setup.py bdist_wheel"
@@ -73,7 +77,7 @@ jobs:
7377
container:
7478
image: ${{ matrix.container_image }}
7579
options: ${{ matrix.gpu_arch_type == 'cuda' && '--gpus all' || ' ' }}
76-
if: ${{ env.CU_VERSION == '12.1' }}
80+
if: ${{ matrix.desired_cuda == '12.1' }}
7781
# If a build is taking longer than 60 minutes on these runners we need
7882
# to have a conversation
7983
timeout-minutes: 60

.github/workflows/linux-release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@ jobs:
4848
smoke-test-script: ${{ matrix.smoke-test-script }}
4949
trigger-event: ${{ github.event_name }}
5050

51-
build-other-release-artifacts:
51+
build-release-artifacts:
5252
name: Build other release artifacts
5353
needs: [generate-matrix, build]
5454
strategy:
5555
fail-fast: false
5656
matrix:
5757
include:
5858
- repository: pytorch/tensorrt
59-
if: ${{ env.CHANNEL == 'release'}}
6059
uses: ./.github/workflows/linux-release-artifacts.yml
60+
if: ${{ contains( github.event.pull_request.labels.*.name, 'build-release-artifacts') }}
6161
with:
62-
job-name: build-other-release-artifiacts
62+
job-name: build-release-artifiacts
6363
repository: "pytorch/tensorrt"
6464
ref: ""
6565
test-infra-repository: pytorch/test-infra

0 commit comments

Comments
 (0)