forked from Mirror/ollama4j
This commit is contained in:
parent
c520604f4b
commit
444ffd92a8
26
.gitea/workflows/publish.yaml
Normal file
26
.gitea/workflows/publish.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
name: Build and Publish
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Check out
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
#cache: 'maven'
|
||||
|
||||
- run: cat /root/.m2/toolchains.xml
|
||||
- run: cat /root/.m2/settings.xml
|
||||
|
||||
- name: Build
|
||||
run: mvn -B package --file pom.xml
|
||||
|
||||
- deploy: Publish
|
||||
run: mvn deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user