diff --git a/internal/app/cmd/exec.go b/internal/app/cmd/exec.go index d141919..d5c22a1 100644 --- a/internal/app/cmd/exec.go +++ b/internal/app/cmd/exec.go @@ -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) } diff --git a/internal/app/run/runner.go b/internal/app/run/runner.go index 3c00989..a48c3c6 100644 --- a/internal/app/run/runner.go +++ b/internal/app/run/runner.go @@ -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"