Skip to content

Commit d748384

Browse files
author
Vedran Mikov
committed
Fix formatting on drone file
1 parent e795ed1 commit d748384

1 file changed

Lines changed: 43 additions & 43 deletions

File tree

.drone-github.yml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
1-
---
2-
kind: pipeline
3-
name: linux-amd64
1+
---
2+
kind: pipeline
3+
name: linux-amd64
44

5-
platform:
6-
os: linux
7-
arch: amd64
5+
platform:
6+
os: linux
7+
arch: amd64
88

9-
workspace:
10-
base: /workspace
11-
path: dataDashboard
9+
workspace:
10+
base: /workspace
11+
path: dataDashboard
1212

13-
steps:
14-
- name: build-release-win64
15-
pull: never
16-
image: qt-win64builder:5.15.1
17-
commands:
18-
- "mkdir build && cd build"
19-
- "/opt/qt5.11/win64/bin/qmake -config release ../datadashboard.pro"
20-
- "make -j4"
21-
- "copy-libraries /workspace/dataDashboard/build/release"
22-
- "rm release/*.o release/*.cpp release/*.h release/*.qrc"
23-
- "cp ../LICENSE release/LICENSE.txt"
24-
- "cp ../README.md release/README.md"
25-
- "zip -jr Data_dashboard-${DRONE_TAG##v}-win64.zip release/"
26-
when:
27-
event:
28-
- tag
13+
steps:
14+
- name: build-release-win64
15+
pull: never
16+
image: qt-win64builder:5.15.1
17+
commands:
18+
- "mkdir build && cd build"
19+
- "/opt/qt5.11/win64/bin/qmake -config release ../datadashboard.pro"
20+
- "make -j4"
21+
- "copy-libraries /workspace/dataDashboard/build/release"
22+
- "rm release/*.o release/*.cpp release/*.h release/*.qrc"
23+
- "cp ../LICENSE release/LICENSE.txt"
24+
- "cp ../README.md release/README.md"
25+
- "zip -jr Data_dashboard-${DRONE_TAG##v}-win64.zip release/"
26+
when:
27+
event:
28+
- tag
2929

30-
- name: publish-release-win64
31-
pull: always
32-
image: plugins/github-release
33-
settings:
34-
api_key:
35-
from_secret: github_api_key
36-
files: "/workspace/dataDashboard/build/Data_dashboard-${DRONE_TAG##v}-win64.zip"
37-
checksum:
38-
- md5
39-
- sha1
40-
- sha256
41-
when:
42-
event: tag
30+
- name: publish-release-win64
31+
pull: always
32+
image: plugins/github-release
33+
settings:
34+
api_key:
35+
from_secret: github_api_key
36+
files: "/workspace/dataDashboard/build/Data_dashboard-${DRONE_TAG##v}-win64.zip"
37+
checksum:
38+
- md5
39+
- sha1
40+
- sha256
41+
when:
42+
event: tag
4343

44-
trigger:
45-
ref:
46-
- refs/heads/master
47-
- "refs/tags/**"
48-
- "refs/pull/**"
44+
trigger:
45+
ref:
46+
- refs/heads/master
47+
- "refs/tags/**"
48+
- "refs/pull/**"
4949

5050
...

0 commit comments

Comments
 (0)