Compare commits

..

5 Commits

Author SHA1 Message Date
dependabot[bot]
96db1668ae Bump actions/cache from v2 to v2.1.4
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 01:26:34 +00:00
zu1k
066a449622 Merge branch 'master' of github.com:zu1k/proxypool 2020-09-07 20:54:40 +08:00
zu1k
ed29c9ba2a fix surge proxies bug 2020-09-07 20:53:54 +08:00
zu1k
a8df5fd042 Merge pull request #14 from zu1k/dependabot/github_actions/docker/build-push-action-v2
Bump docker/build-push-action from v1.1.0 to v2
2020-09-07 15:52:32 +08:00
dependabot[bot]
9dafaefa4e Bump docker/build-push-action from v1.1.0 to v2
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from v1.1.0 to v2.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Changelog](85d408708d/CHANGELOG.md)
- [Commits](https://github.com/docker/build-push-action/compare/v1.1.0...85d408708d8c09e8991e7b18899e77d7aee89287)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 06:36:10 +00:00
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v2.3.2
- name: Build and push Docker images
uses: docker/build-push-action@v1.1.0
uses: docker/build-push-action@v2
with:
username: zu1k
password: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v2.3.2
- name: Cache go module
uses: actions/cache@v2
uses: actions/cache@v2.1.4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

View File

@@ -18,7 +18,7 @@ func (s Surge) Provide() string {
var resultBuilder strings.Builder
for _, p := range *s.Proxies {
if checkSurgeSupport(p) {
resultBuilder.WriteString(p.ToClash() + "\n")
resultBuilder.WriteString(p.ToSurge() + "\n")
}
}
return resultBuilder.String()