CI trigger
Some checks failed
Build Ollama-chat plugin / Build-latest-jar (push) Failing after 3m15s

This commit is contained in:
Martin Hoke 2025-04-23 21:28:55 +02:00
parent cadaf13cd2
commit 161588e0e3
19 changed files with 32 additions and 3 deletions

View File

@ -0,0 +1,27 @@
name: Build Ollama-chat plugin
run-name: Build Ollama-chat plugin
on: [push]
jobs:
Build-latest-jar:
runs-on: ubuntu-latest
steps:
- name: Build | Prepare packages
run: |
apt update; apt-get install -y wget software-properties-common apt-transport-https gpg
wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
apt update; apt-get install -y temurin-17-jdk
- name: Prepare | Setup git
run: |
git config --global user.name "Radim Lipovčan"
git config --global user.email "radim@lipovcan.cz"
- name: Check out repository code
uses: actions/checkout@v4
- name: Build | Gradle build
run: |
ls -lah
chmod +x ./gradlew
./gradlew build && ls -lah && ls */ -lah && ls */* -lah&& ls */*/* -lah
- name: Build | publish jar
run: |
curl --insecure --user username:mypass -T build/libs/OllamaChat-1.0.2.jar ftp://192.168.10.133:/

3
.gitignore vendored
View File

@ -22,3 +22,6 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid* hs_err_pid*
replay_pid* replay_pid*
build
.gradle

Binary file not shown.

View File

@ -1,2 +0,0 @@
#Wed Apr 23 20:48:37 CEST 2025
gradle.version=8.8

Binary file not shown.

View File

@ -22,4 +22,5 @@ other-ai-configs:
api-url: "https://api.openai.com/v1/chat/completions" api-url: "https://api.openai.com/v1/chat/completions"
api-key: "your-openai-api-key" api-key: "your-openai-api-key"
model: "gpt-4" model: "gpt-4"
enabled: true enabled: true