diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00168e7b..9fecea17 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,8 +32,8 @@ jobs: - name: Install dependencies run: | - docker pull crazymax/xgo:1.18.0 - go install github.com/crazy-max/xgo@v0.13.0 + docker pull techknowlogick/xgo:latest + go install src.techknowlogick.com/xgo@latest sudo apt install upx - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba05faa7..8148e716 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,8 +29,8 @@ jobs: - name: Install upx run: | - docker pull crazymax/xgo:latest - go install github.com/crazy-max/xgo@latest + docker pull techknowlogick/xgo:latest + go install src.techknowlogick.com/xgo@latest sudo apt install upx - name: Build diff --git a/build.sh b/build.sh index 5c82d135..0022d68f 100644 --- a/build.sh +++ b/build.sh @@ -61,6 +61,7 @@ BUILD() { -X 'github.com/Xhofe/alist/conf.GitTag=$gitTag' \ -X 'github.com/Xhofe/alist/conf.WebTag=$webTag' \ " + rm -rf .git/ if [ "$1" == "release" ]; then xgo -out "$appName" -ldflags="$ldflags" -tags=jsoniter . else