Gitea workflow: removing unnecessary volume mount.
Some checks failed
Productmodel Java CI with Maven / build (push) Failing after 2m8s
Some checks failed
Productmodel Java CI with Maven / build (push) Failing after 2m8s
This commit is contained in:
@@ -10,15 +10,10 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: gs.kapdion.com/kapdionos/java22-mvn-build:v1
|
image: gs.kapdion.com/kapdionos/java22-mvn-build:v1
|
||||||
|
|
||||||
volumes:
|
|
||||||
- /opt/gitea-runner-data/maven-m2:/root/.m2 # mounte das m2 Verzeichnis des Hosts
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# 1. Checkout (braucht Node.js, welches im Standard-Runner vorhanden ist)
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
||||||
- name: Debug Maven Settings & Mount
|
- name: Debug Maven Settings & Mount
|
||||||
run: |
|
run: |
|
||||||
echo "=== 1. Wer bin ich? ==="
|
echo "=== 1. Wer bin ich? ==="
|
||||||
@@ -43,11 +38,6 @@ jobs:
|
|||||||
# Wir filtern den Output, da er sonst riesig ist.
|
# Wir filtern den Output, da er sonst riesig ist.
|
||||||
mvn -X help:effective-settings -DshowPasswords=false | grep "Reading"
|
mvn -X help:effective-settings -DshowPasswords=false | grep "Reading"
|
||||||
|
|
||||||
# 4. Eigentlicher Build
|
|
||||||
# - name: Build with Maven
|
|
||||||
# run: mvn -B package
|
|
||||||
|
|
||||||
# 5. Deploy to Gitea Maven Repository
|
|
||||||
- name: Deploy to Gitea Maven Repository
|
- name: Deploy to Gitea Maven Repository
|
||||||
run: mvn deploy
|
run: mvn deploy
|
||||||
# env:
|
# env:
|
||||||
|
|||||||
Reference in New Issue
Block a user