forked from Mirror/ollama4j
This commit is contained in:
parent
c520604f4b
commit
82f849bcdf
32
.gitea/workflows/publish.yaml
Normal file
32
.gitea/workflows/publish.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Build and Publish
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- name: Check out
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Maven
|
||||||
|
uses: stCarolas/setup-maven@v5
|
||||||
|
with:
|
||||||
|
maven-version: 3.8.2
|
||||||
|
|
||||||
|
- name: Set Up Java
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: '21'
|
||||||
|
cache: 'maven'
|
||||||
|
server-id: 'gitea'
|
||||||
|
|
||||||
|
- 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