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

move setup nodes before cache msp430

hathach 6 лет назад
Родитель
Сommit
cfb2ef1cff
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      .github/workflows/build.yml

+ 5 - 5
.github/workflows/build.yml

@@ -30,7 +30,10 @@ jobs:
     steps:
     steps:
     - name: Setup Python
     - name: Setup Python
       uses: actions/setup-python@v1
       uses: actions/setup-python@v1
-    
+
+    - name: Setup Node.js
+      uses: actions/setup-node@v1.1.0
+
     - name: Cache MSP430 Toolchain
     - name: Cache MSP430 Toolchain
       id: cache-msp430
       id: cache-msp430
       uses: actions/cache@v1
       uses: actions/cache@v1
@@ -38,10 +41,7 @@ jobs:
         path: /tmp/dl/
         path: /tmp/dl/
         # Increment serial number at end when updating downloads
         # Increment serial number at end when updating downloads
         key: msp430-${{ runner.os }}-0
         key: msp430-${{ runner.os }}-0
-    
-    - name: Setup Node.js
-      uses: actions/setup-node@v1.1.0
-      
+
     - name: Install Toolchains
     - name: Install Toolchains
       run: |
       run: |
         # ARM & RISC-V GCC from xpack
         # ARM & RISC-V GCC from xpack