This repository was archived by the owner on Jul 12, 2024. It is now read-only.
File tree 3 files changed +78
-1
lines changed
3 files changed +78
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : goreleaser
2
+
3
+ on :
4
+ push :
5
+ # run only against tags
6
+ tags :
7
+ - ' v*'
8
+
9
+ permissions :
10
+ contents : write
11
+ # packages: write
12
+ # issues: write
13
+
14
+ jobs :
15
+ goreleaser :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ with :
20
+ fetch-depth : 0
21
+ - run : git fetch --force --tags
22
+ - uses : actions/setup-go@v3
23
+ with :
24
+ go-version : ' 1.20.7'
25
+ cache : true
26
+ # More assembly might be required: Docker logins, GPG, etc. It all depends
27
+ # on your needs.
28
+ - uses : goreleaser/goreleaser-action@v4
29
+ with :
30
+ # either 'goreleaser' (default) or 'goreleaser-pro':
31
+ distribution : goreleaser
32
+ version : latest
33
+ args : release --clean
34
+ env :
35
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
+ # Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
37
+ # distribution:
38
+ # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
Original file line number Diff line number Diff line change
1
+ # This is an example .goreleaser.yml file with some sensible defaults.
2
+ # Make sure to check the documentation at https://goreleaser.com
3
+ before :
4
+ hooks :
5
+ # You may remove this if you don't use go modules.
6
+ - go mod tidy
7
+ # you may remove this if you don't need go generate
8
+ # - go generate ./...
9
+ builds :
10
+ - env :
11
+ - CGO_ENABLED=0
12
+ targets :
13
+ - darwin_amd64
14
+ - darwin_arm64
15
+ - linux_amd64
16
+ - linux_arm64
17
+ - windows_amd64
18
+ - windows_arm64
19
+
20
+ archives :
21
+ - format : tar.gz
22
+ # use zip for windows archives
23
+ format_overrides :
24
+ - goos : windows
25
+ format : zip
26
+ checksum :
27
+ name_template : ' checksums.txt'
28
+ snapshot :
29
+ name_template : " {{ incpatch .Version }}-next"
30
+ changelog :
31
+ sort : asc
32
+ filters :
33
+ exclude :
34
+ - ' ^docs:'
35
+ - ' ^test:'
36
+
37
+ release :
38
+ prerelease : auto
39
+ mode : keep-existing
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ FullTClash的专用代理后端,基于clash内核改动。本人不会Golang
6
6
* 此外还有[ meta分支] ( https://github.com/AirportR/FullTCore/tree/meta ) ,使用Clash.Meta 代替,支持更多代理协议。
7
7
## 二进制文件
8
8
9
- 请前往github action页面获取,不会进行分发。
9
+ https://github.com/AirportR/FullTCore/releases
10
10
11
11
## 编译
12
12
You can’t perform that action at this time.
0 commit comments