forked from Mirror/ollama4j
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc1d2c4dc1 | ||
|
|
8e93e580cd | ||
|
|
97e3df4f44 | ||
|
|
8b2dccdae1 | ||
|
|
7486016e85 | ||
|
|
1b4ad78acf | ||
|
|
9936200dcc | ||
|
|
5bd3573123 | ||
|
|
761f82f321 | ||
|
|
9ec8e5155b | ||
|
|
47c014968d |
11
.github/workflows/maven-publish.yml
vendored
11
.github/workflows/maven-publish.yml
vendored
@@ -40,7 +40,18 @@ jobs:
|
||||
server-password: MAVEN_PASSWORD
|
||||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
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
|
||||
if: >
|
||||
github.event_name != 'pull_request' &&
|
||||
github.ref_name == 'main' &&
|
||||
contains(github.event.head_commit.message, '[release]')
|
||||
run: |
|
||||
git config --global user.email "koujalgi.amith@gmail.com"
|
||||
git config --global user.name "amithkoujalgi"
|
||||
|
||||
2
Makefile
2
Makefile
@@ -5,7 +5,7 @@ it:
|
||||
mvn clean verify -Pintegration-tests
|
||||
|
||||
build:
|
||||
mvn clean test install -Punit-tests
|
||||
mvn -B clean test install -Punit-tests -Dgpg.passphrase="${GPG_PASSPHRASE}" -e
|
||||
|
||||
release:
|
||||
mvn clean -Punit-tests release:clean release:prepare release:perform -B
|
||||
|
||||
4
pom.xml
4
pom.xml
@@ -4,7 +4,7 @@
|
||||
|
||||
<groupId>io.github.amithkoujalgi</groupId>
|
||||
<artifactId>ollama4j</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<version>1.0.10</version>
|
||||
|
||||
<name>Ollama4j</name>
|
||||
<description>Java library for interacting with Ollama API.</description>
|
||||
@@ -39,7 +39,7 @@
|
||||
<connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection>
|
||||
<developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection>
|
||||
<url>https://github.com/amithkoujalgi/ollama4j</url>
|
||||
<tag>v1.0.6</tag>
|
||||
<tag>v1.0.10</tag>
|
||||
</scm>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user