Selaa lähdekoodia

Update main.yml

blueloveTH 3 vuotta sitten
vanhempi
commit
901127c49e
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. 2 3
      .github/workflows/main.yml

+ 2 - 3
.github/workflows/main.yml

@@ -60,11 +60,9 @@ jobs:
       with:
       with:
         version: 15
         version: 15
         platform: x64
         platform: x64
-    - name: Install Dependencies
-      run: |
-        sudo apt install -y libc++-15-dev libc++1-15 libc++abi-15-dev libc++abi1-15 libclang-rt-15-dev
     - name: Coverage Test
     - name: Coverage Test
       run: |
       run: |
+        sudo apt install -y libc++-15-dev libc++1-15 libc++abi-15-dev libc++abi1-15 libclang-rt-15-dev
         python3 preprocess.py
         python3 preprocess.py
         bash run_tests.sh
         bash run_tests.sh
     - uses: actions/upload-artifact@v3
     - uses: actions/upload-artifact@v3
@@ -93,6 +91,7 @@ jobs:
         with:
         with:
           flutter-version: '3.3.0'
           flutter-version: '3.3.0'
           channel: 'stable'
           channel: 'stable'
+          cache: true
       - run: flutter --version
       - run: flutter --version
       - name: Compiling
       - name: Compiling
         run: |
         run: |