From 0cdbc950b59525ed000a6eee84cb2f4e782a3f7e Mon Sep 17 00:00:00 2001 From: YUNSHEN XIE <1084314248@qq.com> Date: Tue, 2 Sep 2025 11:52:50 +0800 Subject: [PATCH] fix ce compile task upload error (#3788) --- .github/workflows/ce_job.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ce_job.yml b/.github/workflows/ce_job.yml index 47ddbb051..c47e8e2ea 100644 --- a/.github/workflows/ce_job.yml +++ b/.github/workflows/ce_job.yml @@ -177,14 +177,13 @@ jobs: env: AK: ${{ secrets.BOS_AK }} SK: ${{ secrets.BOS_SK }} - FASTDEPLOY_WHEEL_URL: ${{ needs.build.outputs.wheel_path }} + FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8090.outputs.wheel_path }} COMPILE_ARCH: "80,90" steps: - uses: actions/setup-python@v5 with: python-version: '3.10' - name: Wheel Info Show and Upload - if: github.ref_name == 'develop' || github.ref_type == 'tag' run: | echo "The wheel is located at: ${{ needs.build_sm8090.outputs.wheel_path }}" wget -q --no-check-certificate ${{ needs.build_sm8090.outputs.wheel_path }} @@ -201,11 +200,13 @@ jobs: python ${push_file} ${filename} ${target_path} target_path_stripped="${target_path#paddle-qa/}" WHEEL_PATH=https://paddle-qa.bj.bcebos.com/${target_path_stripped}/${fd_wheel_name} + echo "commit wheel url is ${WHEEL_PATH}" target_path_latest=paddle-qa/paddle-pipeline/FastDeploy_ActionCE/SM${COMPILE_ARCH//,/_}/${branch_name}/latest python ${push_file} ${filename} ${target_path_latest} target_path_stripped_latest="${target_path_latest#paddle-qa/}" WHEEL_PATH_LATEST=https://paddle-qa.bj.bcebos.com/${target_path_stripped_latest}/${fd_wheel_name} + echo "latest wheel url is ${WHEEL_PATH_LATEST}" ce_upload_sm8689: environment: CodeSync @@ -215,14 +216,13 @@ jobs: env: AK: ${{ secrets.BOS_AK }} SK: ${{ secrets.BOS_SK }} - FASTDEPLOY_WHEEL_URL: ${{ needs.build.outputs.wheel_path }} + FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8689.outputs.wheel_path }} COMPILE_ARCH: "86,89" steps: - uses: actions/setup-python@v5 with: python-version: '3.10' - name: Wheel Info Show and Upload - if: github.ref_name == 'develop' || github.ref_type == 'tag' run: | echo "The wheel is located at: ${{ needs.build_sm8090.outputs.wheel_path }}" wget -q --no-check-certificate ${{ needs.build_sm8090.outputs.wheel_path }} @@ -239,8 +239,10 @@ jobs: python ${push_file} ${filename} ${target_path} target_path_stripped="${target_path#paddle-qa/}" WHEEL_PATH=https://paddle-qa.bj.bcebos.com/${target_path_stripped}/${fd_wheel_name} + echo "commit wheel url is ${WHEEL_PATH}" target_path_latest=paddle-qa/paddle-pipeline/FastDeploy_ActionCE/SM${COMPILE_ARCH//,/_}/${branch_name}/latest python ${push_file} ${filename} ${target_path_latest} target_path_stripped_latest="${target_path_latest#paddle-qa/}" WHEEL_PATH_LATEST=https://paddle-qa.bj.bcebos.com/${target_path_stripped_latest}/${fd_wheel_name} + echo "latest wheel url is ${WHEEL_PATH_LATEST}"