Skip to content

Commit

Permalink
refactor: Make the git pull less error prone.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxemiliang committed Oct 19, 2023
1 parent 9203efd commit 2f22c63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/benchmarker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:

steps:
- shell: bash
run: git clone https://github.com/maxemiliang/shot-benchmarker.git

run: git pull -C shot-benchmarker || git clone https://github.com/maxemiliang/shot-benchmarker.git

- uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 2f22c63

Please sign in to comment.