Created
January 30, 2025 23:18
-
-
Save edef1c/b84a28006fb9ccafd77bc3074771696d to your computer and use it in GitHub Desktop.
skill issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package github.actions.results.api.v1; | |
import "github__actions__results__entities__v1__cachemetadata.proto"; | |
service CacheService { | |
rpc CreateCacheEntry(CreateCacheEntryRequest) returns (CreateCacheEntryResponse); | |
rpc FinalizeCacheEntryUpload(FinalizeCacheEntryUploadRequest) returns (FinalizeCacheEntryUploadResponse); | |
rpc GetCacheEntryDownloadURL(GetCacheEntryDownloadURLRequest) returns (GetCacheEntryDownloadURLResponse); | |
} | |
message CreateCacheEntryRequest { | |
github.actions.results.entities.v1.CacheMetadata metadata = 1; | |
string key = 2; | |
string version = 3; | |
} | |
message CreateCacheEntryResponse { | |
bool ok = 1; | |
string signed_upload_url = 2; | |
} | |
message FinalizeCacheEntryUploadRequest { | |
github.actions.results.entities.v1.CacheMetadata metadata = 1; | |
string key = 2; | |
int64 size_bytes = 3; | |
string version = 4; | |
} | |
message FinalizeCacheEntryUploadResponse { | |
bool ok = 1; | |
int64 entry_id = 2; | |
} | |
message GetCacheEntryDownloadURLRequest { | |
github.actions.results.entities.v1.CacheMetadata metadata = 1; | |
string key = 2; | |
repeated string restore_keys = 3; | |
string version = 4; | |
} | |
message GetCacheEntryDownloadURLResponse { | |
bool ok = 1; | |
string signed_download_url = 2; | |
string matched_key = 3; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package github.actions.results.entities.v1; | |
import "github__actions__results__entities__v1__cachescope.proto"; | |
message CacheMetadata { | |
int64 repository_id = 1; | |
repeated github.actions.results.entities.v1.CacheScope scope = 2; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package github.actions.results.entities.v1; | |
message CacheScope { | |
string scope = 1; | |
int64 permission = 2; | |
} |
Comments are disabled for this gist.