[ci] Fix the flag of dist (#7770)
Signed-off-by: Supper Thomas <78900636@qq.com>
This commit is contained in:
parent
7122aba397
commit
b60d0cf370
|
@ -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 }}/*
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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}}/*
|
||||
|
|
Loading…
Reference in New Issue