forked from Mirror/ollama4j
This commit is contained in:
parent
c520604f4b
commit
bd607aad82
22
.gitea/workflows/publish.yaml
Normal file
22
.gitea/workflows/publish.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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'
|
||||||
|
|
||||||
|
- name: Check out
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: mvn package
|
||||||
|
|
||||||
|
- deploy: Publish
|
||||||
|
run: mvn deploy
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user