Skip to content

Commit bc7ad2b

Browse files
authored
[SDK-4388] Use GitHub Actions (#556)
1 parent f41662f commit bc7ad2b

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: auth0/auth0-java/build-and-test
2+
3+
on:
4+
pull_request:
5+
merge_group:
6+
push:
7+
branches: ["master", "main", "v1"]
8+
9+
jobs:
10+
gradle:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-java@v3
15+
with:
16+
distribution: temurin
17+
java-version: 8
18+
- uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c
19+
with:
20+
arguments: assemble apiDiff check jacocoTestReport --continue --console=plain
21+
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
22+
with:
23+
flags: unittests
24+
- uses: actions/upload-artifact@v3
25+
with:
26+
name: Reports
27+
path: build/reports

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ oss {
1616
repository 'auth0-java'
1717
organization 'auth0'
1818
description 'Java client library for the Auth0 platform.'
19-
baselineCompareVersion '1.27.0'
19+
baselineCompareVersion '2.0.0'
2020
testInJavaVersions = [8, 11, 17]
2121

2222
developers {

0 commit comments

Comments
 (0)