pipeline fix
This commit is contained in:
12
.github/workflows/deploy-docker-to-tst.yml
vendored
12
.github/workflows/deploy-docker-to-tst.yml
vendored
@@ -16,10 +16,22 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Stap 2: Versienummer ophalen uit pom.xml en opslaan als artifact
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Setup Maven
|
||||
uses: s4u/setup-maven-action@v1
|
||||
with:
|
||||
maven-version: '3.9.5'
|
||||
|
||||
- name: Extract Quarkus version from pom.xml
|
||||
run: |
|
||||
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
|
||||
echo $VERSION > version.txt
|
||||
|
||||
|
||||
- name: Save version as artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user