use build tag to support darwin again (#600)

fix https://ci.woodpecker-ci.org/woodpecker-ci/woodpecker/build/3344/11

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/600
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
6543 2022-08-31 08:41:39 +08:00
parent cc14c63ccc
commit a0127ed0e7
3 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
//go:build !windows
package gitea
import (

View File

@ -1 +0,0 @@
agent_linux.go

View File

@ -2,6 +2,8 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
//go:build windows
package gitea
import (