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

Signed-off-by: Supper Thomas <78900636@qq.com>
This commit is contained in:
Supper Thomas 2023-07-04 09:46:22 +08:00 committed by GitHub
parent 7122aba397
commit b60d0cf370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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 }}/*

View File

@ -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 }}

View File

@ -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}}/*