forked from Mirror/ollama4j
Add gitea release workflow
This commit is contained in:
parent
c520604f4b
commit
b8a2a569f7
23
.gitea/workflows/publish.yaml
Normal file
23
.gitea/workflows/publish.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
name: Build and Publish
|
||||
on:
|
||||
push: [master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
|
||||
- name: Check out
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
uses: mvn package
|
||||
|
||||
- deploy: Publish
|
||||
uses: mvn deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user