mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-07-27 17:28:35 +00:00
chore: remove gitea from variable names etc. with no functional change
This commit is contained in:
parent
96a453c015
commit
f1b67559b1
2 changed files with 3 additions and 3 deletions
|
@ -382,7 +382,7 @@ func runExec(ctx context.Context, execArgs *executeArgs) func(cmd *cobra.Command
|
|||
}
|
||||
|
||||
if len(execArgs.artifactServerPath) == 0 {
|
||||
tempDir, err := os.MkdirTemp("", "gitea-act-")
|
||||
tempDir, err := os.MkdirTemp("", "forgejo-runner-")
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
|
|
@ -77,8 +77,8 @@ func NewRunner(cfg *config.Config, reg *config.Registration, cli client.Client)
|
|||
cacheProxy = nil
|
||||
}
|
||||
|
||||
artifactGiteaAPI := strings.TrimSuffix(cli.Address(), "/") + "/api/actions_pipeline/"
|
||||
envs["ACTIONS_RUNTIME_URL"] = artifactGiteaAPI
|
||||
artifactAPI := strings.TrimSuffix(cli.Address(), "/") + "/api/actions_pipeline/"
|
||||
envs["ACTIONS_RUNTIME_URL"] = artifactAPI
|
||||
envs["ACTIONS_RESULTS_URL"] = strings.TrimSuffix(cli.Address(), "/")
|
||||
|
||||
envs["GITEA_ACTIONS"] = "true"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue