@@ -197,12 +197,12 @@ jobs:
197197 tar -czvf ${{ matrix.job.name }}.tar.gz $files
198198
199199 working-directory : bin
200- - uses : actions/upload-artifact@v4
201- if : ${{ success() }}
202- with :
203- name : ${{ matrix.job.name }}
204- path : bin/*.tar.gz
205- retention-days : 1
200+ # - uses: actions/upload-artifact@v4
201+ # if: ${{ success() }}
202+ # with:
203+ # name: ${{ matrix.job.name }}
204+ # path: bin/*.tar.gz
205+ # retention-days: 1
206206
207207 build-binary :
208208 name : Build binary
@@ -215,7 +215,7 @@ jobs:
215215 CODE_VERSION : " -X github.com/hiddify/hiddify-core/v2/hcommon/constants.Version=${{ needs.calculate_version.outputs.hiddify_version }} -X github.com/sagernet/sing-box/constant.Version=${{ needs.calculate_version.outputs.singbox_version }}"
216216
217217 strategy :
218- fail-fast : true
218+ fail-fast : false
219219 matrix :
220220 include :
221221 - { os: linux, arch: amd64, variant: purego, naive: true }
@@ -356,7 +356,7 @@ jobs:
356356 set -xeuo pipefail
357357 mkdir -p dist
358358 go build -v -trimpath -o dist/hiddify-core -tags "${BUILD_TAGS}" \
359- -ldflags ' -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0' \
359+ -ldflags " -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0" \
360360 ./cmd/main/
361361 env :
362362 CGO_ENABLED : " 0"
@@ -378,7 +378,7 @@ jobs:
378378 set -xeuo pipefail
379379 mkdir -p dist
380380 go build -v -trimpath -o dist/hiddify-core -tags "${BUILD_TAGS}" \
381- -ldflags ' -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0' \
381+ -ldflags " -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0" \
382382 ./cmd/main/
383383 env :
384384 CGO_ENABLED : " 1"
@@ -393,7 +393,7 @@ jobs:
393393 set -xeuo pipefail
394394 mkdir -p dist
395395 go build -v -trimpath -o dist/hiddify-core -tags "${BUILD_TAGS}" \
396- -ldflags ' -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0' \
396+ -ldflags " -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0" \
397397 ./cmd/main/
398398 env :
399399 CGO_ENABLED : " 1"
@@ -408,7 +408,7 @@ jobs:
408408 set -xeuo pipefail
409409 mkdir -p dist
410410 go build -v -trimpath -o dist/hiddify-core -tags "${BUILD_TAGS}" \
411- -ldflags ' -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0' \
411+ -ldflags " -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0" \
412412 ./cmd/main/
413413 env :
414414 CGO_ENABLED : " 0"
@@ -428,7 +428,7 @@ jobs:
428428 export CXX="${CC}++"
429429 mkdir -p dist
430430 GOOS=$BUILD_GOOS GOARCH=$BUILD_GOARCH build go build -v -trimpath -o dist/hiddify-core -tags "${BUILD_TAGS}" \
431- -ldflags ' -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0' \
431+ -ldflags " -s -buildid= ${CODE_VERSION} -X internal/godebug.defaultGODEBUG=multipathtcp=0 -checklinkname=0" \
432432 ./cmd/main/
433433 env :
434434 CGO_ENABLED : " 1"
@@ -538,12 +538,12 @@ jobs:
538538 rm -r "${DIR_NAME}"
539539 - name : Cleanup
540540 run : rm -f dist/hiddify-core dist/libcronet.so
541- - name : Upload artifact
542- uses : actions/upload-artifact@v4
543- with :
544- name : hiddify-core-${{ matrix.os }}_${{ matrix.arch }}${{ matrix.goarm && format('v{0}', matrix.goarm) }}${{ matrix.go386 && format('_{0}', matrix.go386) }}${{ matrix.gomips && format('_{0}', matrix.gomips) }}${{ matrix.legacy_name && format('-legacy-{0}', matrix.legacy_name) }}${{ matrix.variant && format('-{0}', matrix.variant) }}
545- path : " dist"
546- retention-days : 1
541+ # - name: Upload artifact
542+ # uses: actions/upload-artifact@v4
543+ # with:
544+ # name: hiddify-core-${{ matrix.os }}_${{ matrix.arch }}${{ matrix.goarm && format('v{0}', matrix.goarm) }}${{ matrix.go386 && format('_{0}', matrix.go386) }}${{ matrix.gomips && format('_{0}', matrix.gomips) }}${{ matrix.legacy_name && format('-legacy-{0}', matrix.legacy_name) }}${{ matrix.variant && format('-{0}', matrix.variant) }}
545+ # path: "dist"
546+ # retention-days: 1
547547
548548
549549
0 commit comments