Browse Source

Update benchmark.yml

quyuan01 1 year ago
parent
commit
284ff9b090
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/benchmark.yml

+ 1 - 1
.github/workflows/benchmark.yml

@@ -23,7 +23,7 @@ jobs:
 
     - name: check-requirements
       run: |
-        changed_files=$(git diff --name-only -r HEAD^1 HEAD)
+        changed_files=$(git diff --name-only -r HEAD~1 HEAD)
         echo $changed_files
         if [[ $changed_files =~ "requirements.txt" ]]; then
           pip install -r requirements.txt