Build Artifacts
Basic Artifact Output
image: golang:1.22
stages:
- test
- build
build:
stage: build
script:
- "go build -o calculator"
- "./calculator"
artifacts: # Our change
paths:
- calculator # Filename
test:
stage: test
script:
- "go test"

Better ways of storing artifacts
Last updated