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

ci(bbg): simplify installation by using direct script download

Instead of copying the entire Baseband-guard repository and running the setup script locally, download and execute the setup script directly from the upstream repository. This reduces complexity and avoids potential issues with local repository state.
TheWildJames 6 месяцев назад
Родитель
Сommit
ae246e0672
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      .github/actions/bbg/action.yml

+ 2 - 3
.github/actions/bbg/action.yml

@@ -4,12 +4,11 @@ description: Download and configure Baseband Guard security module
 runs:
 runs:
   using: composite
   using: composite
   steps:
   steps:
-    - name: Download Baseband Guard
+    - name: Install Baseband Guard
       shell: bash
       shell: bash
       working-directory: ${{ github.workspace }}/kernel
       working-directory: ${{ github.workspace }}/kernel
       run: |
       run: |
-        cp -R "$GITHUB_WORKSPACE/Baseband-guard" ./
-        ./Baseband-guard/setup.sh
+        wget -O- https://github.com/vc-teahouse/Baseband-guard/raw/main/setup.sh | bash
     
     
     - name: Configure Baseband Guard
     - name: Configure Baseband Guard
       shell: bash
       shell: bash