-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.drone.yml
More file actions
60 lines (54 loc) · 1.66 KB
/
.drone.yml
File metadata and controls
60 lines (54 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
kind: pipeline
name: default
steps:
- name: Test
image: openjdk:11-jdk
commands:
- ./gradlew check jacocoTestReport
when:
event:
exclude:
- tag
- name: Coverage
image: plugins/codecov
settings:
token:
from_secret: CODECOV_TOKEN
files:
- build/reports/jacoco/report.xml
when:
event:
exclude:
- tag
- name: Installers
image: openjdk:11-jdk
commands:
- wget -q https://download-keycdn.ej-technologies.com/install4j/install4j_linux_7_0_9.deb
- dpkg -i install4j_linux_7_0_9.deb
- wget -q -O /opt/install4j7/jres/macosx-amd64-11.0.2.tar.gz https://download.ej-technologies.com/bundles/java9/macosx-amd64-11.0.2.tar.gz
- wget -q -O /opt/install4j7/jres/windows-amd64-11.0.2.tar.gz https://download.ej-technologies.com/bundles/java9/windows-amd64-11.0.2.tar.gz
- ./gradlew install4j
environment:
i4jlicense:
from_secret: install4jkey
when:
event:
- tag
- name: Publish
image: plugins/github-release
settings:
api_key:
from_secret: githubreleasekey
files:
- /drone/src/build/installer/DMDirc*
- /drone/src/build/installer/updates.xml
- /drone/src/build/installer/md5sums
- /drone/src/build/libs/dmdircui.jar
checksum:
- sha256
draft: true
note: CHANGELOG.md
title: ${DRONE_TAG}
when:
event:
- tag