Skip to content

Commit 9730c5f

Browse files
authored
Update CircleCI config
1 parent 3c1bfe4 commit 9730c5f

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.circleci/config.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,28 @@ version: 2.1
66
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
77
jobs:
88
build:
9+
# Specify the execution environment. You can specify an image from Dockerhub, or use one of our Convenience Images from CircleCI's Developer Hub.
10+
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
911
docker:
10-
- image: gradle:jdk8
12+
- image: gradle:jdk17
13+
description: "Build Linux DEB package"
14+
# Add steps to the job
15+
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
1116
steps:
17+
- checkout
1218
- run:
13-
name: Make 'gradlew' executable
14-
command: chmod +x ./gradlew
19+
name: "Make gradlew executable"
20+
command: "chmod +x gradlew"
1521
- run:
16-
name: Build Project
17-
command: ./gradlew clean build
22+
name: "Build Project"
23+
command: |
24+
./gradlew clean build
25+
environment:
26+
CIRCLE_CI: "true"
1827

28+
# Invoke jobs via workflows
29+
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
1930
workflows:
20-
echo:
31+
build-workflow:
2132
jobs:
2233
- build

0 commit comments

Comments
 (0)