mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
chore: remove unused code and comments including gitea
This commit is contained in:
parent
f5027efaf8
commit
22ae656783
6 changed files with 0 additions and 20 deletions
|
@ -77,12 +77,10 @@ func NewRunner(cfg *config.Config, reg *config.Registration, cli client.Client)
|
|||
cacheProxy = nil
|
||||
}
|
||||
|
||||
// set artifact gitea api
|
||||
artifactGiteaAPI := strings.TrimSuffix(cli.Address(), "/") + "/api/actions_pipeline/"
|
||||
envs["ACTIONS_RUNTIME_URL"] = artifactGiteaAPI
|
||||
envs["ACTIONS_RESULTS_URL"] = strings.TrimSuffix(cli.Address(), "/")
|
||||
|
||||
// Set specific environments to distinguish between Gitea and GitHub
|
||||
envs["GITEA_ACTIONS"] = "true"
|
||||
envs["GITEA_ACTIONS_RUNNER_VERSION"] = ver.Version()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue