create initial pipeline
Some checks failed
Gitea Action Maven Build / build (push) Failing after 4m44s

This commit is contained in:
Eduard Kuksa 2025-05-08 19:46:50 +07:00
parent 71af7f6f9d
commit 4837f9fdb4

36
.gitea/workflows/main.yml Normal file
View File

@ -0,0 +1,36 @@
name: Gitea Action Maven Build
on:
push:
branches: ['devel']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.9
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'oracle'
cache: 'maven'
- name: Build, Test and Package with Maven
run: mvn -B verify --file pom.xml -e
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: russianmorphology-artifact
path: |
target/*.jar
- name: Deploy to Gitea Packages
run: mvn deploy