Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1646bb6

Browse files
authoredApr 26, 2024
Merge pull request #65 from kcl-lang/ci-java-lib-release
ci: release java lib
2 parents 8f04fff + 189cc87 commit 1646bb6

File tree

3 files changed

+31
-16
lines changed

3 files changed

+31
-16
lines changed
 

‎.github/mvn-settings.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎.github/workflows/java-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ jobs:
107107
with:
108108
distribution: 'temurin'
109109
java-version: '8'
110+
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
111+
settings-path: ${{ github.workspace }} # location for the settings.xml file
110112

111113
- name: Download windows x86_64 lib
112114
uses: actions/download-artifact@v3
@@ -156,8 +158,6 @@ jobs:
156158
-DskipTests=true \
157159
-Dcargo-build.profile=release \
158160
-DserverId=github \
159-
-s ../.github/mvn-settings.xml
161+
-s $GITHUB_WORKSPACE/settings.xml
160162
env:
161-
GITHUB_ACTOR: ${{ secrets.MAVEN_DEPLOY_USER }}
162-
GITHUB_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
163-
163+
GITHUB_TOKEN: ${{ github.token }}

‎java/README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
11
# KCL Artifact Library for Java
22

3-
See [here](https://github.com/kcl-lang/kcl-java) for more information.
3+
## Developing
4+
5+
- Install `Java 8+`
6+
- Install `cargo` and `Python` (for Rust code building)
7+
8+
```shell
9+
pnpm install
10+
```
11+
12+
### Building
13+
14+
```shell
15+
make build
16+
```
17+
18+
### Testing
19+
20+
```shell
21+
make test
22+
```
23+
24+
### Format
25+
26+
```shell
27+
make fmt
28+
```
29+

0 commit comments

Comments
 (0)
Please sign in to comment.