I build my artifact in the first step with the code below (go build).
artifacts: paths: - ./file
The file "file"