Skip to content

Commit

Permalink
ci(swiftui): change github workflow config for building universal swi…
Browse files Browse the repository at this point in the history
…ftui client app
  • Loading branch information
genshen committed Aug 14, 2023
1 parent a1792ba commit ee6482a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
mv client-ui-macOS-amd64.app.zip ../
cd ../
echo "building swiftui-client"
cd extra/go-api && ./build_archive.sh && cd ../../
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 ./
cd extra/go-api && make && cd ../../
cd swiftui-client && xcodebuild -arch x86_64 -arch arm64
cd build/Release/ && zip -r wssocks-ustb-client-macOS-universal.app.zip wssocks-ustb-client.app && cd ../../../
mv swiftui-client/build/Release/wssocks-ustb-client-macOS-universal.app.zip ./
- name: Build Windows
if: matrix.os == 'windows-latest'
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
files: |
client-ui-windows-amd64.exe
client-ui-macOS-amd64.app.zip
wssocks-ustb-client-macOS-amd64.app.zip
wssocks-ustb-client-macOS-universal.app.zip
wssocks-ustb-darwin-amd64
wssocks-ustb-linux-arm64
wssocks-ustb-linux-amd64
Expand Down

0 comments on commit ee6482a

Please sign in to comment.