Compare commits

...

5 Commits

Author SHA1 Message Date
dependabot[bot]
704d54f5b8 Bump actions/checkout from v2.3.2 to v2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.2 to v2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 01:26:37 +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 4 additions and 4 deletions

View File

@@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2.3.2
uses: actions/checkout@v2.3.4
- 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

@@ -12,7 +12,7 @@ jobs:
go-version: 1.14.x
- name: Check out code into the Go module directory
uses: actions/checkout@v2.3.2
uses: actions/checkout@v2.3.4
- name: Cache go module
uses: actions/cache@v2

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()