瀏覽代碼

fix paths

Tensor-Programming 5 年之前
父節點
當前提交
9c3aec8499
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      .github/workflows/smoke-test-prod.yml

+ 4 - 4
.github/workflows/smoke-test-prod.yml

@@ -58,18 +58,18 @@ jobs:
       - name: cache node modules
         uses: actions/cache@v1
         with:
-          path: ${{ format('examples/{0}/node_modules', matrix.example) }}
+          path: ${{ format('examples/node/{0}/node_modules', matrix.example) }}
           key: ${{ runner.OS }}-build-${{ hashFiles(format('examples/{0}/yarn.lock', matrix.example)) }}
           restore-keys: ${{ runner.OS }}-build-${{ env.cache-name }}-
       - name: install via yarn
         run: |
-          cd ./examples/${{ matrix.example }}
+          cd ./node/examples/${{ matrix.example }}
           yarn
       - name: build example
         run: |
-          cd ./examples/${{ matrix.example }}
+          cd ./node/examples/${{ matrix.example }}
           yarn build
       - name: yarn tauri build
         run: |
-          cd ./examples/${{ matrix.example }}
+          cd ./node/examples/${{ matrix.example }}
           yarn tauri:prod:build