Revert "fix: Call ReplaceVars() to resolve Ref's for imported global vars." (#2723)

This commit is contained in:
Andrey Nering
2026-03-08 17:00:12 -03:00
committed by GitHub
parent 080ee8869f
commit 4ddad9f9f7
4 changed files with 0 additions and 24 deletions

View File

@@ -2,9 +2,6 @@ version: '3'
vars:
GLOBAL_VAR: [1, 2, 2, 2, 3, 3, 4, 5]
GLOBAL_FOO:
ref: .GLOBAL_BAR
GLOBAL_BAR: bar
tasks:
default:
@@ -12,7 +9,6 @@ tasks:
- task: ref-dep
- task: ref-resolver
- task: ref-resolver-sh
- task: ref-global
ref-cmd:
vars:
@@ -76,13 +72,3 @@ tasks:
{{- else}} and {{$child.name -}}
{{- end -}}
{{- end -}}"
ref-global:
vars:
TASK_FUBAR:
ref: .GLOBAL_FOO
cmds:
- echo "GLOBAL_FOO={{.GLOBAL_FOO}}"
- echo "GLOBAL_BAR={{.GLOBAL_BAR}}"
- echo "TASK_FUBAR={{.TASK_FUBAR}}"
silent: true

View File

@@ -1,3 +0,0 @@
GLOBAL_FOO=bar
GLOBAL_BAR=bar
TASK_FUBAR=bar