mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-10-27 22:50:41 +01:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c4533b704 | ||
|
|
bb50a66d80 | ||
|
|
e8dccd9b6a | ||
|
|
cc1d2c4dc1 | ||
|
|
8e93e580cd | ||
|
|
97e3df4f44 | ||
|
|
8b2dccdae1 | ||
|
|
7486016e85 | ||
|
|
1b4ad78acf | ||
|
|
9936200dcc | ||
|
|
5bd3573123 | ||
|
|
761f82f321 |
11
.github/workflows/maven-publish.yml
vendored
11
.github/workflows/maven-publish.yml
vendored
@@ -40,7 +40,18 @@ jobs:
|
|||||||
server-password: MAVEN_PASSWORD
|
server-password: MAVEN_PASSWORD
|
||||||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE
|
gpg-passphrase: MAVEN_GPG_PASSPHRASE
|
||||||
|
- name: Set up Maven cache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.m2/repository
|
||||||
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-maven-
|
||||||
- name: Publish to GitHub Packages Apache Maven
|
- name: Publish to GitHub Packages Apache Maven
|
||||||
|
if: >
|
||||||
|
github.event_name != 'pull_request' &&
|
||||||
|
github.ref_name == 'main' &&
|
||||||
|
contains(github.event.head_commit.message, '[release]')
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "koujalgi.amith@gmail.com"
|
git config --global user.email "koujalgi.amith@gmail.com"
|
||||||
git config --global user.name "amithkoujalgi"
|
git config --global user.name "amithkoujalgi"
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -5,10 +5,10 @@ it:
|
|||||||
mvn clean verify -Pintegration-tests
|
mvn clean verify -Pintegration-tests
|
||||||
|
|
||||||
build:
|
build:
|
||||||
mvn clean test install -Punit-tests
|
mvn -B clean test install -Punit-tests -Dgpg.passphrase="${GPG_PASSPHRASE}" -e
|
||||||
|
|
||||||
release:
|
release:
|
||||||
mvn clean -Punit-tests release:clean release:prepare release:perform -B
|
mvn -B clean install -Punit-tests release:clean release:prepare release:perform -Dgpg.passphrase="${GPG_PASSPHRASE}" -e
|
||||||
|
|
||||||
update-version:
|
update-version:
|
||||||
mvn versions:set -DnewVersion=1.0.1
|
mvn versions:set -DnewVersion=1.0.1
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<groupId>io.github.amithkoujalgi</groupId>
|
<groupId>io.github.amithkoujalgi</groupId>
|
||||||
<artifactId>ollama4j</artifactId>
|
<artifactId>ollama4j</artifactId>
|
||||||
<version>1.0.7</version>
|
<version>1.0.11</version>
|
||||||
|
|
||||||
<name>Ollama4j</name>
|
<name>Ollama4j</name>
|
||||||
<description>Java library for interacting with Ollama API.</description>
|
<description>Java library for interacting with Ollama API.</description>
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
<connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection>
|
<connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection>
|
||||||
<developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection>
|
<developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection>
|
||||||
<url>https://github.com/amithkoujalgi/ollama4j</url>
|
<url>https://github.com/amithkoujalgi/ollama4j</url>
|
||||||
<tag>v1.0.7</tag>
|
<tag>v1.0.11</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
Reference in New Issue
Block a user