mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-12-18 20:14:48 +00:00
Compare commits
2 Commits
v0.2.13
...
6bea749473
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bea749473 | ||
|
|
adc552622f |
@@ -74,6 +74,7 @@ func NewRunner(cfg *config.Config, reg *config.Registration, cli client.Client)
|
|||||||
// set artifact gitea api
|
// set artifact gitea api
|
||||||
artifactGiteaAPI := strings.TrimSuffix(cli.Address(), "/") + "/api/actions_pipeline/"
|
artifactGiteaAPI := strings.TrimSuffix(cli.Address(), "/") + "/api/actions_pipeline/"
|
||||||
envs["ACTIONS_RUNTIME_URL"] = artifactGiteaAPI
|
envs["ACTIONS_RUNTIME_URL"] = artifactGiteaAPI
|
||||||
|
envs["ACTIONS_RESULTS_URL"] = strings.TrimSuffix(cli.Address(), "/")
|
||||||
|
|
||||||
// Set specific environments to distinguish between Gitea and GitHub
|
// Set specific environments to distinguish between Gitea and GitHub
|
||||||
envs["GITEA_ACTIONS"] = "true"
|
envs["GITEA_ACTIONS"] = "true"
|
||||||
|
|||||||
Reference in New Issue
Block a user