diff --git a/.github/workflows/build-torch.yml b/.github/workflows/build-torch.yml index eec411b3..1f2dbf7a 100644 --- a/.github/workflows/build-torch.yml +++ b/.github/workflows/build-torch.yml @@ -179,14 +179,14 @@ jobs: run: | py=$(echo "${{ matrix.python-version }}" | tr '.' '_') echo "wheel=torch-${{ env.TORCH_VERSION }}-py${py}-manylinux_riscv64" >> "${GITHUB_OUTPUT}" - echo "dir=${BUILD_NAME_PREFIX}${py}${BUILD_NAME_SUFFIX}" >> "${GITHUB_OUTPUT}" + echo "wheel-dir=${PYTORCH_FINAL_PACKAGE_DIR}/${BUILD_NAME_PREFIX}${py}${BUILD_NAME_SUFFIX}" >> "${GITHUB_OUTPUT}" - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: steps.build.outcome != 'skipped' with: name: ${{ steps.artifact-name.outputs.wheel }} if-no-files-found: error - path: ${{ runner.temp }}/artifacts/${{ steps.artifact-name.outputs.dir }}/*.whl + path: ${{ steps.artifact-name.outputs.wheel-dir }}/*.whl publish: name: Publish torch ${{ inputs.version || '2.13.0' }} to GitLab