Skip to content

Commit

Permalink
ci(gh-action): remove unnecessary parent directory in release zip
Browse files Browse the repository at this point in the history
  • Loading branch information
genshen committed Jan 30, 2021
1 parent 2a03eb1 commit 3a6ae47
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ jobs:
run: |
cd client-ui
make client-ui-macOS-amd64.app -f Makefile-ci
zip -r client-ui-macOS-amd64.app.zip client-ui-macOS-amd64.app
mv client-ui-macOS-amd64.app.zip ../
cd ../
zip -r client-ui-macOS-amd64.app.zip client-ui/client-ui-macOS-amd64.app
echo "build swiftui-client"
echo "building swiftui-client"
cd extra/go-api && ./build_archive.sh && cd ../../
cd swiftui-client && xcodebuild -arch "x86_64" && cd ../
zip -r wssocks-ustb-client-macOS-amd64.app.zip swiftui-client/build/Release/wssocks-ustb-client.app
cd swiftui-client && xcodebuild -arch "x86_64"
cd build/Release/ && zip -r wssocks-ustb-client-macOS-amd64.app.zip wssocks-ustb-client.app && cd ../../../
mv swiftui-client/build/Release/wssocks-ustb-client-macOS-amd64.app.zip ./
- name: Build Windows
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 3a6ae47

Please sign in to comment.