diff --git a/.github/scripts/build-linux-release-artifacts.sh b/.github/scripts/build-linux-release-artifacts.sh index 699b964f57..f82a108b0c 100644 --- a/.github/scripts/build-linux-release-artifacts.sh +++ b/.github/scripts/build-linux-release-artifacts.sh @@ -42,6 +42,9 @@ python -m auditwheel repair \ --plat manylinux_2_34_x86_64 \ /opt/torch-tensorrt-builds/torch_tensorrt-*-${PY_BUILD_CODE}-linux_x86_64.whl +if [[ ! -d dist ]]; then + mkdir dist +fi cp wheelhouse/torch_tensorrt*x86_64.whl dist/ CUDA_VERSION=$(python -c "import versions; versions.cuda_version()") diff --git a/.github/workflows/linux-release-artifacts.yml b/.github/workflows/linux-release-artifacts.yml index c8ac2dd157..f79ccb5aeb 100644 --- a/.github/workflows/linux-release-artifacts.yml +++ b/.github/workflows/linux-release-artifacts.yml @@ -146,6 +146,12 @@ jobs: with: repository: ${{ inputs.repository }} script: exec_script + - name: Upload release artifacts to GitHub + continue-on-error: true + uses: actions/upload-artifact@v3 + with: + name: release_${{ env.ARTIFACT_NAME }} + path: ${{ inputs.repository }}/dist/ # - name: Surface failing tests # if: always() # uses: pmeier/pytest-results-action@v0.3.0