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