File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Java Gradle CircleCI 2.0 configuration file
22version : 2
33jobs :
4- build :
5- docker :
6- - image : maciejmalecki/c64libci:0.1.4
4+ build :
5+ docker :
6+ - image : maciejmalecki/c64libci:0.1.4
77
8- working_directory : ~/repo
8+ working_directory : ~/repo
99
10- environment :
11- JVM_OPTS : -Xms256m -Xmx768m
12- TERM : dumb
10+ environment :
11+ JVM_OPTS : -Xms256m -Xmx768m
12+ TERM : dumb
1313
14- steps :
15- - checkout
16- - attach_workspace :
17- at : ./artifacts
18- - run : mkdir out
19- - run : ./gradlew build
20- - run : cp C128LIB-SAMPLES.d64" out/C128LIB-SAMPLES.d64"
21- - persist-to-workspace :
22- root : .
23- paths :
24- - out
14+ steps :
15+ - checkout
16+ - attach_workspace :
17+ at : ./artifacts
18+ - run : mkdir out
19+ - run : ./gradlew build
20+ - run : cp C128LIB-SAMPLES.d64 out/C128LIB-SAMPLES.d64
21+ - persist-to-workspace :
22+ root : .
23+ paths :
24+ - out
2525
26- publish :
27- docker :
28- - image : cibuilds/github:0.10
29- steps :
30- - attach_workspace :
31- at : ./artifacts
32- - run :
33- name : " Publish D64 on GitHub"
34- command : |
35- ls ./artifacts/out
36- ghr -t "${GITHUB_TOKEN}" -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" -c "${CIRCLE_SHA1}" -replace "${CIRCLE_TAG}" ./artifacts/out
26+ publish :
27+ docker :
28+ - image : cibuilds/github:0.10
29+ steps :
30+ - attach_workspace :
31+ at : ./artifacts
32+ - run :
33+ name : " Publish D64 on GitHub"
34+ command : |
35+ ls ./artifacts/out
36+ ghr -t "${GITHUB_TOKEN}" -u "${CIRCLE_PROJECT_USERNAME}" -r "${CIRCLE_PROJECT_REPONAME}" -c "${CIRCLE_SHA1}" -replace "${CIRCLE_TAG}" ./artifacts/out
3737
3838workflows :
39- version : 2
40- build-and-deploy :
41- jobs :
42- - build :
43- filters :
44- branches :
45- only :
46- - main
47- - develop
48- tags :
49- only :
50- - /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
51- - publish :
52- filters :
53- branches :
54- ignore :
55- - main
56- - develop
57- tags :
58- only :
59- - /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
60- requires :
61- - build
39+ version : 2
40+ build-and-deploy :
41+ jobs :
42+ - build :
43+ filters :
44+ branches :
45+ only :
46+ - main
47+ - develop
48+ tags :
49+ only :
50+ - /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
51+ - publish :
52+ filters :
53+ branches :
54+ ignore :
55+ - main
56+ - develop
57+ tags :
58+ only :
59+ - /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
60+ requires :
61+ - build
You can’t perform that action at this time.
0 commit comments