File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+ orbs :
3+ codecov : codecov/codecov@3
4+ jobs :
5+ build-and-deploy :
6+ docker :
7+ - image : cimg/openjdk:11.0
8+ working_directory : ~/repo
9+ environment :
10+ JVM_OPTS : -Xmx3200m
11+ TERM : dumb
12+ steps :
13+ - checkout
14+ - run : chmod +x ./gradlew
15+ - run : ./gradlew dependencies
16+ - run : ./gradlew check --stacktrace
17+ - run : ./gradlew jacocoTestReport
18+
19+ - run : " [[ -n ${SIGNING_KEY_SECRING_BASE64} ]]"
20+ - run : echo $SIGNING_KEY_SECRING_BASE64 | base64 --decode > ./signing.key.secring
21+ - run : echo "export SIGNING_KEY_PATH=./signing.key.secring" >> "$BASH_ENV"
22+ - run : ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -DDEPLOYMENT=true
23+
24+ build :
25+ docker :
26+ - image : cimg/openjdk:11.0
27+ working_directory : ~/repo
28+ environment :
29+ JVM_OPTS : -Xmx3200m
30+ TERM : dumb
31+ steps :
32+ - checkout
33+ - run : chmod +x ./gradlew
34+ - run : ./gradlew dependencies
35+ - run : ./gradlew check --stacktrace
36+ - run : ./gradlew jacocoTestReport
37+ - codecov/upload
38+
39+ workflows :
40+ build-and-deploy-workflow :
41+ jobs :
42+ - build-and-deploy :
43+ context :
44+ - tensorics-deploy
45+ filters :
46+ tags :
47+ # any tag
48+ only : /.*/
49+ branches :
50+ # no branches
51+ ignore : /.*/
52+
53+ build-workflow :
54+ jobs :
55+ - build :
56+ filters :
57+ tags :
58+ # not tag
59+ ignore : /.*/
You can’t perform that action at this time.
0 commit comments