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