mplayer4anime/.woodpecker/woodpecker.yml

21 lines
469 B
YAML
Raw Permalink Normal View History

steps:
- name: test
when:
event: [tag, push]
image: maven:3-jdk-11
commands:
- mvn -B -DskipTests clean package
- mvn test -B
volumes:
- /home/docker/woodpecker/files/m2:/root/.m2
- name: archive-artifact
when:
event: [tag, push]
image: alpine:latest
commands:
2022-07-15 06:57:06 +03:00
- mkdir -p /builds/mplayer4anime
2022-07-15 07:18:26 +03:00
- cp target/mplayer4anime-*jar /builds/mplayer4anime/
volumes:
- /home/www/builds:/builds