mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-12-18 03:54:48 +00:00
Compare commits
1 Commits
v0.2.7
...
adc552622f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
adc552622f |
@@ -74,6 +74,7 @@ func NewRunner(cfg *config.Config, reg *config.Registration, cli client.Client)
|
||||
// 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"
|
||||
|
||||
Reference in New Issue
Block a user