Add the vault job to needs array to get the artifact from that job.
vault
needs
. . . data-main: needs: ["schema-main","vault"] stage: clone-data allow_failure: true resource_group: clone script: - cat vault.env