forked from Mirror/ollama4j
Add gitea release workflow
This commit is contained in:
parent
c520604f4b
commit
429119b35a
23
.gitea/workflows/publish.yaml
Normal file
23
.gitea/workflows/publish.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
name: Build and Publish
|
||||
on:
|
||||
push: [main]
|
||||
|
||||
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
|
||||
uses: mvn package
|
||||
|
||||
- deploy: Publish
|
||||
uses: mvn deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user