alex.kopachov 2 лет назад
Родитель
Сommit
cef8b943bb
1 измененных файлов с 8 добавлено и 6 удалено
  1. 8 6
      .github/workflows/create-new-release.yml

+ 8 - 6
.github/workflows/create-new-release.yml

@@ -48,18 +48,20 @@ jobs:
       DEFAULT_TARGET: f7
     
     steps:
-      - name: 'Decontaminate previous build leftovers'
-        run: |
-          if [ -d .git ]; then
-            git submodule status || git checkout "$(git rev-list --max-parents=0 HEAD | tail -n 1)"
-          fi
-
       - uses: actions/checkout@v3
         with:
           ref: "${{needs.set-new-version.outputs.commit_hash}}"
           fetch-depth: 0
           submodules: 'recursive'
 
+      - name: Install Python
+        uses: actions/setup-python@v4
+        with:
+          python-version: '3.10'
+      
+      - name: Install uFBT
+        run: python3 -m pip install --upgrade ufbt
+
       - name: Build
         run: ./build.ps1
         shell: pwsh