Browse Source

[ci] Fix the flag of dist (#7770)

Signed-off-by: Supper Thomas <78900636@qq.com>
Supper Thomas 2 years ago
parent
commit
b60d0cf370

+ 1 - 1
.github/workflows/manual_dist.yml

@@ -147,7 +147,7 @@ jobs:
           ls bsp/$RTT_BSP/dist
           pwd
       - uses: actions/upload-artifact@v3
-        if:  ${{ github.event.inputs.bsp_options.dist_flag }} 
+        if:  ${{ github.event.inputs.dist_flag }} 
         with:
           name: dist_file
           path: ${{ github.workspace }}/${{ github.event.inputs.bsp_options }}/*

+ 1 - 1
.github/workflows/manual_trigger_scons_STM32_all.yml

@@ -169,7 +169,7 @@ jobs:
           ls bsp/$RTT_BSP/dist
           pwd
       - uses: actions/upload-artifact@v3
-        if:  ${{ github.event.inputs.bsp_options.dist_flag }} 
+        if:  ${{ github.event.inputs.dist_flag }} 
         env:
           RTT_BSP: ${{ matrix.legs.RTT_BSP }}
           RTT_TOOL_CHAIN: ${{ matrix.legs.RTT_TOOL_CHAIN }}

+ 2 - 2
.github/workflows/manual_trigger_scons_except_STM32_all.yml

@@ -356,10 +356,10 @@ jobs:
           ls bsp/$RTT_BSP/dist
           pwd
       - uses: actions/upload-artifact@v3
-        if:  ${{ github.event.inputs.bsp_options.dist_flag }} 
+        if:  ${{ github.event.inputs.dist_flag }} 
         env:
           RTT_BSP: ${{ matrix.legs.RTT_BSP }}
           RTT_TOOL_CHAIN: ${{ matrix.legs.RTT_TOOL_CHAIN }}
         with:
           name: ${{ matrix.legs.RTT_BSP_NAME}}
-          path: ${{ github.workspace }}/${{matrix.legs.RTT_BSP}}/*
+          path: ${{ github.workspace }}/${{matrix.legs.RTT_BSP}}/*