File tree Expand file tree Collapse file tree 5 files changed +34
-4
lines changed
Expand file tree Collapse file tree 5 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 1- name : SDK Build
1+ name : build/test
22
33on : [push]
44
Original file line number Diff line number Diff line change 1- name : Deploy Javadoc
1+ name : javadoc
22
33on :
44 push :
Original file line number Diff line number Diff line change 1+ name : publish
2+ on :
3+ release :
4+ types : [created]
5+ jobs :
6+ publish :
7+ runs-on : ubuntu-latest
8+ permissions :
9+ contents : read
10+ packages : write
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-java@v2
14+ with :
15+ java-version : ' 11'
16+ distribution : ' adopt'
17+ - name : Publish package
18+ run : mvn --batch-mode deploy --projects rai-sdk -DskipTests
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- ![ sdk build] ( https://github.com/RelationalAI/rai-sdk-java/actions/workflows/maven.yaml/badge.svg )
2- ![ javadoc] ( https://github.com/RelationalAI/rai-sdk-java/actions/workflows/javadoc.yaml/badge.svg )
1+ ![ build] ( https://github.com/RelationalAI/rai-sdk-java/actions/workflows/maven-build.yaml/badge.svg )
2+ ![ publish] ( https://github.com/RelationalAI/rai-sdk-java/actions/workflows/maven-publish.yaml/badge.svg )
3+ ![ javadoc] ( https://github.com/RelationalAI/rai-sdk-java/actions/workflows/maven-javadoc.yaml/badge.svg )
4+
35# The RelationalAI Software Development Kit for Java
46
57The RelationalAI (RAI) SDK for Java enables developers to access the RAI REST
Original file line number Diff line number Diff line change 7676 </pluginManagement >
7777 </build >
7878
79+ <distributionManagement >
80+ <repository >
81+ <id >github</id >
82+ <name >GitHub Packages</name >
83+ <url >https://maven.pkg.github.com/RelationalAI/rai-sdk-java</url >
84+ </repository >
85+ </distributionManagement >
86+
7987 <licenses >
8088 <license >
8189 <name >Apache License, Version 2.0</name >
You can’t perform that action at this time.
0 commit comments