update: download uses
This commit is contained in:
parent
1c04ee57eb
commit
03c479889c
|
@ -27,12 +27,12 @@ jobs:
|
|||
go-version: 1.19.x
|
||||
|
||||
- name: download meta core
|
||||
uses: dsaltares/fetch-gh-release-asset@master
|
||||
uses: robinraju/release-downloader@v1.5
|
||||
with:
|
||||
repo: 'MetaCubeX/Clash.Meta'
|
||||
regex: true
|
||||
file: "darwin.*\\.gz"
|
||||
target: 'clash.meta/'
|
||||
repository: 'MetaCubeX/Clash.Meta'
|
||||
latest: true
|
||||
fileName: "darwin.*.gz"
|
||||
out-file-path: "clash.meta"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: install deps
|
||||
|
|
|
@ -3,6 +3,7 @@ set -e
|
|||
|
||||
echo "Unzip core files"
|
||||
cd clash.meta
|
||||
ls
|
||||
gzip -d *.gz
|
||||
echo "Create Universal core"
|
||||
lipo -create -output com.metacubex.ClashX.ProxyConfigHelper.meta Clash.Meta-darwin-amd64* Clash.Meta-darwin-arm64*
|
||||
|
|
Loading…
Reference in New Issue