Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6b7a9e0

Browse files
committedMay 8, 2024
Use env var instead of wheel-build-params for release flag
1 parent 581f386 commit 6b7a9e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.github/workflows/build-test-windows.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
- repository: pytorch/tensorrt
4848
pre-script: packaging/pre_build_script_windows.sh
4949
env-script: packaging/vc_env_helper.bat
50-
wheel-build-params: "--release"
5150
smoke-test-script: packaging/smoke_test_windows.py
5251
package-name: torch_tensorrt
5352
name: Build torch-tensorrt whl package
@@ -60,7 +59,6 @@ jobs:
6059
build-matrix: ${{ needs.substitute-runner.outputs.matrix }}
6160
pre-script: ${{ matrix.pre-script }}
6261
env-script: ${{ matrix.env-script }}
63-
wheel-build-params: ${{ matrix.wheel-build-params }}
6462
smoke-test-script: ${{ matrix.smoke-test-script }}
6563
package-name: ${{ matrix.package-name }}
6664
trigger-event: ${{ github.event_name }}

‎packaging/pre_build_script_windows.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ unzip TensorRT.zip -d C:/
2323
export CUDA_HOME="$(echo ${CUDA_PATH} | sed -e 's#\\#\/#g')"
2424

2525
cat toolchains/ci_workspaces/WORKSPACE.win.release.tmpl | envsubst > WORKSPACE
26+
27+
echo "RELEASE=1" >> ${GITHUB_ENV}

0 commit comments

Comments
 (0)
Please sign in to comment.