This commit is contained in:
parent
c3befa21c8
commit
140782373a
@ -5,11 +5,22 @@ jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
- name: Checkout
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
|
||||
- name: Install Maven
|
||||
uses: https://github.com/stCarolas/setup-maven@v4
|
||||
|
||||
- name: Install Java
|
||||
uses: https://github.com/actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Build with Maven
|
||||
distribution: temurin
|
||||
java-version: 18
|
||||
cache: maven
|
||||
overwrite-settings: true
|
||||
server-id: example
|
||||
|
||||
- run: cat ~/.m2/settings.xml
|
||||
|
||||
- name: Deploy
|
||||
run: mvn
|
||||
Loading…
x
Reference in New Issue
Block a user