mirror of
https://code.forgejo.org/actions/ovh-dns-update
synced 2025-03-15 06:46:59 +01:00
adjust github output
This commit is contained in:
parent
4486ccbb21
commit
c1afe4c4a7
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ func TestRun(t *testing.T) {
|
||||||
t.Cleanup(s.Close)
|
t.Cleanup(s.Close)
|
||||||
action := githubactions.New(githubactions.WithGetenv(func(key string) string {
|
action := githubactions.New(githubactions.WithGetenv(func(key string) string {
|
||||||
switch key {
|
switch key {
|
||||||
|
case "GITHUB_OUTPUT":
|
||||||
|
return os.Getenv(key)
|
||||||
case "INPUT_OVH-ENDPOINT":
|
case "INPUT_OVH-ENDPOINT":
|
||||||
return "http://" + s.Listener.Addr().String()
|
return "http://" + s.Listener.Addr().String()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue