Просмотр исходного кода

update: 780的ci先从GitHub拉,再用gitee更新,快

chenxuuu 2 лет назад
Родитель
Сommit
7771eef8c4
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      .github/workflows/air780.yml

+ 5 - 1
.github/workflows/air780.yml

@@ -29,7 +29,11 @@ jobs:
       run: |
         sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry"
         cd ..
-        retry 'git clone --branch=master https://gitee.com/openLuat/luatos-soc-2022.git air780'
+        git clone https://github.com/openLuat/luatos-soc-2022.git air780
+        cd air780
+        git remote add gitee https://gitee.com/openLuat/luatos-soc-2022.git
+        retry 'git pull gitee master'
+        git checkout master origin/master
     - name: make
       run: |
         cd ../air780