From 4e34a62066a01494712bb23762eb100671c58c89 Mon Sep 17 00:00:00 2001 From: lanluo-nvidia Date: Sun, 16 Jun 2024 19:39:59 -0700 Subject: [PATCH] test --- .github/workflows/linux-release-artifacts.yml | 6 +++--- .github/workflows/linux-release.yml | 8 +++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux-release-artifacts.yml b/.github/workflows/linux-release-artifacts.yml index 58bd2fca82..f784c4d865 100644 --- a/.github/workflows/linux-release-artifacts.yml +++ b/.github/workflows/linux-release-artifacts.yml @@ -1,4 +1,4 @@ -name: Release artifacts on Linux +name: Build release artifacts on Linux on: workflow_call: @@ -59,7 +59,7 @@ on: type: string jobs: - build: + build-release: strategy: fail-fast: false matrix: ${{ fromJSON(inputs.build-matrix) }} @@ -200,5 +200,5 @@ jobs: # s3-prefix: ${{ env.REPOSITORY }}/${{ github.event.pull_request.number }} concurrency: - group: ${{ github.workflow }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.ref_name }}-${{ inputs.repository }}-${{ inputs.job-name }} cancel-in-progress: true diff --git a/.github/workflows/linux-release.yml b/.github/workflows/linux-release.yml index b17b02e4f8..71cf1d8e02 100644 --- a/.github/workflows/linux-release.yml +++ b/.github/workflows/linux-release.yml @@ -30,9 +30,6 @@ jobs: post-script: packaging/post_build_script.sh smoke-test-script: packaging/smoke_test_script.sh package-name: torch_tensorrt - # env: - # CU_VERSION: ${{ build-matrix.desired_cuda }} - # PYTHON_VERSION: ${{ build-matrix.python_version }} name: Build torch-tensorrt whl package uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.3 with: @@ -49,13 +46,14 @@ jobs: trigger-event: ${{ github.event_name }} build-release-artifacts: - name: Build other release artifacts + name: Build torch-tensorrt release artifacts needs: [generate-matrix, build] strategy: fail-fast: false matrix: include: - repository: pytorch/tensorrt + - package-name: torch_tensorrt uses: ./.github/workflows/linux-release-artifacts.yml if: ${{ contains( github.event.pull_request.labels.*.name, 'build-release-artifacts') }} with: @@ -68,5 +66,5 @@ jobs: pre-script: ${{ matrix.pre-script }} concurrency: - group: ${{ github.workflow }}-${{ github.ref_name }} + group: ${{ github.workflow }}-${{ github.ref_name }}-${{ inputs.repository }}-${{ inputs.job-name }} cancel-in-progress: true \ No newline at end of file