Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
renxida committed Jun 12, 2024
1 parent 918e303 commit 381236a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/bump_torch_mlir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ jobs:
id: bump_submodule
run: |
cd third_party/torch-mlir
git fetch origin
bump_target=${{ github.event.inputs.bump_target }}
git fetch ${bump_target//\// }
if [ "workflow_dispatch" == "workflow_dispatch" ]; then
git checkout upstream/main || { echo "Checkout failed. Available remotes:"; git remote -v; exit 1; }
git checkout ${{ github.event.inputs.bump_target }} || { echo "Checkout failed. Available remotes:"; git remote -v; exit 1; }
else
git checkout origin/main
fi
Expand Down

0 comments on commit 381236a

Please sign in to comment.