Skip to content

Commit 85457b7

Browse files
committed
Fix build issue
1 parent 1583f58 commit 85457b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/_linux_build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ on:
3636
outputs:
3737
whl_name:
3838
description: The name of the wheel file
39-
value: ${{ jobs.Torch-XPU-Build.outputs.whl_name }}
39+
value: ${{ jobs.build.outputs.whl_name }}
4040
torch_commit_id:
4141
description: The commit id of the torch build
42-
value: ${{ jobs.Torch-XPU-Build.outputs.TORCH_COMMIT_ID }}
42+
value: ${{ jobs.build.outputs.TORCH_COMMIT_ID }}
4343

4444
permissions:
4545
issues: write
@@ -116,7 +116,7 @@ jobs:
116116
WERROR=1 python setup.py bdist_wheel 2>&1 | tee pytorch_${current_commit}_build.log
117117
118118
if [[ ${is_fork_pr} == "false" ]]; then
119-
if [ -f dist/torch*.whl && "${last_commit}" != "${current_commit}"] && [[ "${{ inputs.pytorch }}" == "main" || "${{ inputs.pytorch }}" == "release/"* ]]; then
119+
if [ -f dist/torch*.whl && "${last_commit}" != "${current_commit}" ] && [[ "${{ inputs.pytorch }}" == "main" || "${{ inputs.pytorch }}" == "release/"* ]]; then
120120
echo "Wheel build successful, update last commit in the issue https://github.com/intel/torch-xpu-ops/issues/1280"
121121
gh --repo $repo issue view $commit_issue --json body -q .body | sed "s;${last_commit};${current_commit};g" | sed '/^$/d' > new_body.txt
122122
gh --repo $repo issue edit $commit_issue --body-file new_body.txt

0 commit comments

Comments
 (0)