File tree Expand file tree Collapse file tree 4 files changed +39
-3
lines changed Expand file tree Collapse file tree 4 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 1+ name : CD
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ BuildJAR :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ java : [ '8' ]
15+ steps :
16+ - name : Setup Java JDK
17+ uses : actions/setup-java@v3
18+ with :
19+ distribution : ' temurin'
20+ java-version : ${{ matrix.java }}
21+ id : java
22+ - name : Setup Go environment
23+ uses : actions/setup-go@v2
24+ with :
25+ go-version : ^1.17
26+ id : go
27+ - name : Setup Bazelisk
28+ run : go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
29+ - uses : actions/checkout@v2
30+ - name : Build deployable JAR
31+ run : USE_BAZEL_VERSION=last_downstream_green ~/go/bin/bazelisk build //src/main/java/com/bazel_diff:bazel-diff_deploy.jar
32+ - uses : actions/upload-artifact@v3
33+ with :
34+ name : bazel-diff_deploy.jar
35+ path : bazel-bin/src/main/java/com/bazel_diff/bazel-diff_deploy.jar
36+ if-no-files-found : error
Original file line number Diff line number Diff line change 77 branches : [ master ]
88
99jobs :
10- build :
10+ Tests :
1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
Original file line number Diff line number Diff line change 99 - cron : " 0 */12 * * *"
1010
1111jobs :
12- build :
12+ Integration :
1313 runs-on : ubuntu-latest
1414 strategy :
1515 matrix :
Original file line number Diff line number Diff line change 99 - cron : " 0 */12 * * *"
1010
1111jobs :
12- build :
12+ IntegrationExternalTarget :
1313 runs-on : ubuntu-latest
1414 strategy :
1515 matrix :
You can’t perform that action at this time.
0 commit comments