XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Update build

eddbe7dc
hlohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +6 -20
Modified .github/workflows/build-packages.yml +6 -20
@@ -74,17 +74,6 @@ jobs:
74 74 build-g4f-go:
75 75 runs-on: ubuntu-latest
76 76 needs: prepare
77 strategy:
78 matrix:
79 include:
80 - platform: windows
81 os-arg: windows
82 - platform: linux
83 os-arg: linux
84 - platform: darwin
85 os-arg: darwin
86 - platform: freebsd
87 os-arg: bsd
88 77 steps:
89 78 - uses: actions/checkout@v4
90 79 - name: Set up Go
@@ -102,20 +91,20 @@ jobs:
102 91 pip install requests aiohttp brotli pycryptodome nest-asyncio2
103 92 sudo apt-get update
104 93 sudo apt-get install -y rsync zip
105 - name: Fetch & merge Python runtimes
94 - name: Fetch & merge Python runtimes (all platforms)
106 95 working-directory: g4f-go
107 96 env:
108 97 G4F_VERSION: ${{ needs.prepare.outputs.version }}
109 run: ./fetch-python.sh ${{ matrix.os-arg }}
110 - name: Cross-compile g4f-go launchers
98 run: ./fetch-python.sh
99 - name: Cross-compile g4f-go launchers (all platforms)
111 100 working-directory: g4f-go
112 101 env:
113 102 G4F_VERSION: ${{ needs.prepare.outputs.version }}
114 run: ./build-all.sh ${{ matrix.os-arg }}
103 run: ./build-all.sh
115 104 - name: Upload g4f-go executables
116 105 uses: actions/upload-artifact@v4
117 106 with:
118 name: g4f-go-${{ matrix.platform }}
107 name: g4f-go
119 108 path: g4f-go/dist/*
120 109
121 110 # Docker Images
@@ -236,10 +225,7 @@ jobs:
236 225 prerelease: false
237 226 files: |
238 227 ./artifacts/pypi-package/*
239 ./artifacts/g4f-go-windows/dist/*
240 ./artifacts/g4f-go-linux/dist/*
241 ./artifacts/g4f-go-darwin/dist/*
242 ./artifacts/g4f-go-freebsd/dist/*
228 ./artifacts/g4f-go/dist/*
243 229 token: ${{ secrets.GITHUB_TOKEN }}
244 230
245 231 # Publish to PyPI (only for releases)