Compare commits

..

4 Commits

Author SHA1 Message Date
spiritysdx
971a2c66c7 update 2024-07-04 20:05:05 +08:00
spiritysdx
b4e9e17925 update 2024-07-04 20:01:32 +08:00
spiritysdx
5de0e9734e update 2024-07-04 19:51:26 +08:00
spiritysdx
465c6031f8 update 2024-07-04 19:50:20 +08:00
6 changed files with 11 additions and 8 deletions

View File

@@ -12,13 +12,15 @@ jobs:
# 1.20 是 Windows 7/8 Server 2008/2012 最后一个支持版本
image: goreleaser/goreleaser-cross:v1.20
steps:
- run: |
git config --global --add safe.directory /__w/ecs/ecs
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.22.4
@@ -30,11 +32,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GHT }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --clean
args: release
env:
GITHUB_TOKEN: ${{ secrets.GHT }}
GOPRIVATE: github.com/oneclickvirt/security

View File

@@ -1,4 +1,3 @@
version: '2'
before:
hooks:
- go mod tidy -v
@@ -26,6 +25,7 @@ builds:
ignore:
- goos: windows
goarch: arm
main: ./
binary: goecs
- id: darwin-amd64
env:
@@ -38,6 +38,7 @@ builds:
- darwin
goarch:
- amd64
main: ./
binary: goecs
- id: darwin-arm64
env:
@@ -50,6 +51,7 @@ builds:
- darwin
goarch:
- arm64
main: ./
binary: goecs
universal_binaries:
- name_template: "goecs"

View File

@@ -12,7 +12,7 @@ Shell版本 https://github.com/spiritLHLS/ecs
## 适配系统和架构
编译支持的架构: amd64、arm、arm64、386、s390x、ppc64、ppc64le、riscv64、mips、mips64、mipsle、mips64le、loong64
编译支持的架构: amd64、arm、arm64、386、s390x、mips、mipsle、s390x、riscv64
测试支持的架构: amd64、arm64

View File

@@ -12,7 +12,7 @@ Shell version: https://github.com/spiritLHLS/ecs/blob/main/README_EN.md
## Supported Systems and Architectures
Architectures supported for compilation: amd64, arm, arm64, 386, s390x, ppc64, ppc64le, riscv64, mips, mips64, mipsle, mips64le, loong64
Architectures supported for compilation: amd64armarm64386s390x、mips、mipsle、s390x、riscv64
Tested architectures: amd64, arm64

View File

@@ -37,7 +37,7 @@ import (
)
var (
ecsVersion = "v0.0.42"
ecsVersion = "v0.0.48"
menuMode bool
onlyChinaTest bool
input, choice string

View File

@@ -8,7 +8,6 @@ git commit -am"update"
:push
cd %repo_path%
git push -f origin master
if errorlevel 1 (
echo Push failed. Retrying in 3 seconds...