Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fae83e8d2f | |||
| 663a52eded |
@@ -15,6 +15,7 @@ jobs:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
cache: false
|
||||
|
||||
- name: Build
|
||||
run: go build ./...
|
||||
|
||||
@@ -14,6 +14,7 @@ jobs:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
cache: false
|
||||
|
||||
- name: Build
|
||||
run: go build ./...
|
||||
|
||||
@@ -392,7 +392,8 @@ type FetchTaskRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
TasksVersion int64 `protobuf:"varint,1,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"` // Runner use `tasks_version` to compare with Gitea and detemine whether new tasks may exist.
|
||||
TasksVersion int64 `protobuf:"varint,1,opt,name=tasks_version,json=tasksVersion,proto3" json:"tasks_version,omitempty"` // Runner use `tasks_version` to compare with Gitea and detemine whether new tasks may exist.
|
||||
CapabilitiesJson string `protobuf:"bytes,2,opt,name=capabilities_json,json=capabilitiesJson,proto3" json:"capabilities_json,omitempty"` // JSON-encoded runner capabilities including disk space
|
||||
}
|
||||
|
||||
func (x *FetchTaskRequest) Reset() {
|
||||
@@ -434,6 +435,13 @@ func (x *FetchTaskRequest) GetTasksVersion() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *FetchTaskRequest) GetCapabilitiesJson() string {
|
||||
if x != nil {
|
||||
return x.CapabilitiesJson
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type FetchTaskResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
||||
Reference in New Issue
Block a user