Skip to content

gitlab ci schema disallows `artifacts: null`

image

The gitlab VScode extension complains about a wrong type for artifacts: null because the schema disallowes it. It is however valid and needed in the following case:

go:build:
  extends: .go:build
  # no artifacts, even though the parent defines them
  artifacts: null