[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 ls bsp/$RTT_BSP/dist
pwd pwd
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: ${{ github.event.inputs.bsp_options.dist_flag }} if: ${{ github.event.inputs.dist_flag }}
with: with:
name: dist_file name: dist_file
path: ${{ github.workspace }}/${{ github.event.inputs.bsp_options }}/* path: ${{ github.workspace }}/${{ github.event.inputs.bsp_options }}/*

View File

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

View File

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