minecraft-datapacks/.gitlab-ci.yml

20 lines
503 B
YAML
Raw Normal View History

2019-05-22 01:24:57 +02:00
# 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
2019-05-22 01:56:15 +02:00
image: alpine:latest
2019-05-22 01:24:57 +02:00
before_script:
2019-05-22 01:56:15 +02:00
- apk add --no-cache zip
2019-05-22 01:24:57 +02:00
after_script:
2019-05-22 02:02:38 +02:00
- ls
2019-05-22 01:24:57 +02:00
2019-05-22 02:02:24 +02:00
build:
2019-05-22 01:24:57 +02:00
stage: build
script:
2019-05-22 02:14:41 +02:00
- mkdir out
2019-05-22 02:18:12 +02:00
- find . -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I {} zip out/{} {}/\*
2019-05-22 02:14:41 +02:00
artifacts:
paths:
- ./out