forked from Mirror/ollama4j
Some checks failed
Build and Publish / build (push) Has been cancelled
24 lines
431 B
YAML
24 lines
431 B
YAML
name: Build and Publish
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '11'
|
|
cache: 'maven'
|
|
|
|
- name: Build
|
|
run: mvn -B package --file pom.xml
|
|
|
|
- deploy: Publish
|
|
run: mvn deploy
|
|
|