minecraft-datapacks/.gitlab-ci.yml

20 lines
504 B
YAML

# This file is a template, and might need editing before it works on your project.
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
# you can delete this line if you're not using Docker
image: alpine:latest
before_script:
- apk add --no-cache zip
after_script:
- ls
build:
stage: build
script:
- mkdir out
- find -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I {} zip -r out/{} {}/\*
artifacts:
paths:
- ./out