chore: update build
This commit is contained in:
parent
89475461ee
commit
02301be643
|
@ -56,7 +56,10 @@ jobs:
|
|||
|
||||
- name: build
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: xcodebuild archive -workspace ClashX.xcworkspace -scheme ClashX -archivePath archive/ClashX.xcarchive -showBuildTimingSummary -allowProvisioningUpdates
|
||||
run: |
|
||||
xcodebuild -resolvePackageDependencies -project ClashX.xcodeproj
|
||||
xcodebuild archive -project ClashX.xcodeproj -scheme ClashX\ Meta -archivePath archive/ClashX.xcarchive -showBuildTimingSummary -allowProvisioningUpdates
|
||||
|
||||
|
||||
- name: build-SwiftUI
|
||||
run: |
|
||||
|
@ -69,7 +72,7 @@ jobs:
|
|||
run: ditto -c -k --sequesterRsrc --keepParent archive/ClashX.xcarchive/Products/Applications/ClashX\ Meta.app "ClashX Meta.zip"
|
||||
|
||||
- name: create SwiftUI zip
|
||||
run: ditto -c -k --sequesterRsrc --keepParent archive/ClashX\ SwiftUI.xcarchive/Products/Applications/ClashX\ Meta.app "ClashX Meta SwiftUI macOS 12.0+.zip"
|
||||
run: ditto -c -k --sequesterRsrc --keepParent archive/ClashX\ SwiftUI.xcarchive/Products/Applications/ClashX\ Meta.app "ClashX Meta macOS 12.0+.zip"
|
||||
|
||||
|
||||
- name: upload Artifact
|
||||
|
@ -88,5 +91,5 @@ jobs:
|
|||
generate_release_notes: true
|
||||
files: |
|
||||
ClashX Meta.zip
|
||||
ClashX Meta SwiftUI macOS 12.0+.zip
|
||||
ClashX Meta macOS 12.0+.zip
|
||||
|
||||
|
|
|
@ -18,8 +18,6 @@ gzip com.metacubex.ClashX.ProxyConfigHelper.meta
|
|||
cp com.metacubex.ClashX.ProxyConfigHelper.meta.gz ../ClashX/Resources/
|
||||
cd ..
|
||||
|
||||
echo "Pod install"
|
||||
pod install
|
||||
echo "delete old files"
|
||||
rm -f ./ClashX/Resources/country.mmdb
|
||||
rm -f ./ClashX/Resources/geosite.dat
|
||||
|
|
Loading…
Reference in New Issue