Skip to content

Commit

Permalink
Merge pull request #6024 from filecoin-project/fix/action-build
Browse files Browse the repository at this point in the history
fix: compatible with older versions
  • Loading branch information
hunjixin authored Jun 15, 2023
2 parents d1b6ef2 + f07af97 commit fd433ff
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/common_build_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down Expand Up @@ -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/')
Expand Down

0 comments on commit fd433ff

Please sign in to comment.