From f07af97459a915b3eb0294946af514cb4071ff17 Mon Sep 17 00:00:00 2001 From: simlecode <69969590+simlecode@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:06:21 +0800 Subject: [PATCH] fix: compatible with older versions --- .github/workflows/common_build_upload.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/common_build_upload.yml b/.github/workflows/common_build_upload.yml index 409904f346..c8279f8821 100644 --- a/.github/workflows/common_build_upload.yml +++ b/.github/workflows/common_build_upload.yml @@ -128,11 +128,12 @@ jobs: go clean --modcache && make mkdir ./release if [[ "${{steps.vars.outputs.repo_name}}" == "droplet" ]]; then - mv ./droplet-client ./droplet ./release + mv ./droplet-client ./release fi - if [[ "${{steps.vars.outputs.repo_name}}" != "droplet" ]]; then - mv ./${{inputs.bin_name}} ./release + if [[ "${{steps.vars.outputs.repo_name}}" == "venus-market" ]]; then + mv ./market-client ./release fi + mv ./${{inputs.bin_name}} ./release - name: Zip Release uses: TheDoctor0/zip-release@0.6.0 @@ -263,11 +264,12 @@ jobs: make mkdir ./release if [[ "${{steps.vars.outputs.repo_name}}" == "droplet" ]]; then - mv ./droplet-client ./droplet ./release + mv ./droplet-client ./release fi - if [[ "${{steps.vars.outputs.repo_name}}" != "droplet" ]]; then - mv ./${{inputs.bin_name}} ./release + if [[ "${{steps.vars.outputs.repo_name}}" == "venus-market" ]]; then + mv ./market-client ./release fi + mv ./${{inputs.bin_name}} ./release - name: Zip Release if: startsWith(github.ref, 'refs/tags/')