Skip to content

Commit

Permalink
Updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nick committed Nov 16, 2023
1 parent ddc4f55 commit bbd072b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ on:
jobs:
publish:
name: Publish the client to the public registry
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
MVNSETTINGS: ${{ secrets.MVNSETTINGS }}
PRIVATEKEY: ${{ secrets.PRIVATEKEY }}
GPGKEY: ${{ secrets.GPGKEY }}
strategy:
matrix:
java: [ '8' ]
java: [ '11' ]
services:
manticoresearch-manticore:
image: manticoresearch/manticore:dev
ports:
- 9408:9308
steps:
- uses: actions/checkout@v2
- name: Set up JDK
Expand All @@ -28,8 +33,11 @@ jobs:
mkdir -p ~/.m2
export GPG_TTY=$(tty)
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
cp $MVNSETTINGS ~/.m2/settings.xml
apt update && apt install gnupg2 -y && rm -rf /var/lib/apt/lists/*
gpg2 --import --batch $PRIVATEKEY
mvn verify -Dgpg.passphrase=$GPGKEY
mvn clean deploy
echo "$MVNSETTINGS" > ~/.m2/settings.xml
echo "import"
echo "$PRIVATEKEY" > ~/key
gpg2 --import --batch ~/key
echo "verify"
mvn install -Dmaven.test.skip.exec=true -DskipTests=true -Dmaven.test.skip=true -Dgpg.passphrase=$GPGKEY
echo "deploy"
mvn clean deploy -e -X
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Сlient for Manticore Search.

❗ WARNING: this is a development version of the client. The latest release's readme is https://github.com/manticoresoftware/manticoresearch-java/tree/3.3.1
❗ WARNING: this is a development version of the client. The latest release's readme is https://github.com/manticoresoftware/manticoresearch-java/tree/4.0.0


## Requirements
Expand All @@ -15,6 +15,7 @@ Building the API client library requires:

| Manticore Search | manticoresearch-java |
| ----------------- | ----------------------- |
| >= 6.2.0 | 4.0.0 |
| >= 6.2.0 | 3.3.1 |
| >= 2.5.1 | 2.0.2 |

Expand Down

0 comments on commit bbd072b

Please sign in to comment.