This commit is contained in:
@@ -13,6 +13,10 @@ jobs:
|
|||||||
echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
- name: Set up Maven
|
||||||
|
uses: stCarolas/setup-maven@v5
|
||||||
|
with:
|
||||||
|
maven-version: '3.9.9'
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
@@ -20,9 +24,7 @@ jobs:
|
|||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: maven
|
cache: maven
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
uses: xlui/action-maven-cli@master
|
run: mvn -B clean package
|
||||||
with:
|
|
||||||
lifecycle: 'clean package test'
|
|
||||||
- run: |
|
- run: |
|
||||||
echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
echo "🖥️ The workflow is now ready to test your code on the runner."
|
echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
|||||||
Reference in New Issue
Block a user