File tree Expand file tree Collapse file tree 5 files changed +41
-8
lines changed
onixlabs-corda-identity-framework-contract
onixlabs-corda-identity-framework-integration
onixlabs-corda-identity-framework-workflow Expand file tree Collapse file tree 5 files changed +41
-8
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3
+
4
+ name : Java CI with Gradle
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - ' **'
10
+ pull_request :
11
+ branches :
12
+ - ' **'
13
+
14
+ jobs :
15
+ build :
16
+
17
+ runs-on : ubuntu-latest
18
+
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Set up JDK 8
22
+ uses : actions/setup-java@v2
23
+ with :
24
+ java-version : ' 8'
25
+ distribution : ' adopt'
26
+ cache : gradle
27
+ - name : Grant execute permission for gradlew
28
+ run : chmod +x gradlew
29
+ - name : Build with Gradle
30
+ env :
31
+ GHA_USERNAME : ${{ secrets.GHA_USERNAME }}
32
+ GHA_TOKEN : ${{ secrets.GHA_TOKEN }}
33
+ run : ./gradlew build
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ subprojects {
58
58
name = " GitHubPackages-onixlabs-corda-core"
59
59
url = uri(" https://maven.pkg.github.com/onix-labs/onixlabs-corda-core" )
60
60
credentials {
61
- username = project. findProperty(" gpr.user" ) ?: System . getenv(" GITHUB_USERNAME " )
62
- password = project. findProperty(" gpr.key" ) ?: System . getenv(" GITHUB_TOKEN " )
61
+ username = project. findProperty(" gpr.user" ) ?: System . getenv(" GHA_USERNAME " )
62
+ password = project. findProperty(" gpr.key" ) ?: System . getenv(" GHA_TOKEN " )
63
63
}
64
64
}
65
65
}
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ publishing {
43
43
name = " GitHubPackages"
44
44
url = uri(" https://maven.pkg.github.com/onix-labs/onixlabs-corda-identity-framework" )
45
45
credentials {
46
- username = project. findProperty(" gpr.user" ) ?: System . getenv(" GITHUB_USERNAME " )
47
- password = project. findProperty(" gpr.key" ) ?: System . getenv(" GITHUB_TOKEN " )
46
+ username = project. findProperty(" gpr.user" ) ?: System . getenv(" GHA_USERNAME " )
47
+ password = project. findProperty(" gpr.key" ) ?: System . getenv(" GHA_TOKEN " )
48
48
}
49
49
}
50
50
}
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ publishing {
23
23
name = " GitHubPackages"
24
24
url = uri(" https://maven.pkg.github.com/onix-labs/onixlabs-corda-identity-framework" )
25
25
credentials {
26
- username = project. findProperty(" gpr.user" ) ?: System . getenv(" GITHUB_USERNAME " )
27
- password = project. findProperty(" gpr.key" ) ?: System . getenv(" GITHUB_TOKEN " )
26
+ username = project. findProperty(" gpr.user" ) ?: System . getenv(" GHA_USERNAME " )
27
+ password = project. findProperty(" gpr.key" ) ?: System . getenv(" GHA_TOKEN " )
28
28
}
29
29
}
30
30
}
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ publishing {
43
43
name = " GitHubPackages"
44
44
url = uri(" https://maven.pkg.github.com/onix-labs/onixlabs-corda-identity-framework" )
45
45
credentials {
46
- username = project. findProperty(" gpr.user" ) ?: System . getenv(" GITHUB_USERNAME " )
47
- password = project. findProperty(" gpr.key" ) ?: System . getenv(" GITHUB_TOKEN " )
46
+ username = project. findProperty(" gpr.user" ) ?: System . getenv(" GHA_USERNAME " )
47
+ password = project. findProperty(" gpr.key" ) ?: System . getenv(" GHA_TOKEN " )
48
48
}
49
49
}
50
50
}
You can’t perform that action at this time.
0 commit comments