add spring-dotenv and some lines of code in gitea pipeline
All checks were successful
Gitea Action Maven build / build (push) Successful in 2m10s

This commit is contained in:
Eduard Kuksa
2025-02-18 20:42:55 +07:00
parent 90b0d6fe56
commit 3e0f5c6439
3 changed files with 25 additions and 11 deletions

View File

@ -13,12 +13,18 @@ jobs:
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: '3.9.9'
maven-version: 3.9.9
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: 21
distribution: 'oracle'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
- 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: searchengine-artifact
path: |
target/*.jar