Skip to content

ci: release java lib #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```

Loading