Skip to content

Commit

Permalink
Merge pull request #65 from kcl-lang/ci-java-lib-release
Browse files Browse the repository at this point in the history
ci: release java lib
  • Loading branch information
Peefy committed Apr 26, 2024
2 parents 8f04fff + 189cc87 commit 1646bb6
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 16 deletions.
11 changes: 0 additions & 11 deletions .github/mvn-settings.xml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/java-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ jobs:
with:
distribution: 'temurin'
java-version: '8'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Download windows x86_64 lib
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -156,8 +158,6 @@ jobs:
-DskipTests=true \
-Dcargo-build.profile=release \
-DserverId=github \
-s ../.github/mvn-settings.xml
-s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_ACTOR: ${{ secrets.MAVEN_DEPLOY_USER }}
GITHUB_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}

GITHUB_TOKEN: ${{ github.token }}
28 changes: 27 additions & 1 deletion java/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# KCL Artifact Library for Java

See [here](https://github.com/kcl-lang/kcl-java) for more information.
## Developing

- Install `Java 8+`
- Install `cargo` and `Python` (for Rust code building)

```shell
pnpm install
```

### Building

```shell
make build
```

### Testing

```shell
make test
```

### Format

```shell
make fmt
```

0 comments on commit 1646bb6

Please sign in to comment.