add spring-dotenv and some lines of code in gitea pipeline
All checks were successful
Gitea Action Maven build / build (push) Successful in 2m10s
All checks were successful
Gitea Action Maven build / build (push) Successful in 2m10s
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user