10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Build Runner
|
||||
run: |
|
||||
./mvnw -B --no-transfer-progress clean validate -Prelease
|
||||
./mvnw -B --no-transfer-progress versions:commit
|
||||
./mvnw -B --no-transfer-progress versions:commit -Djgitver.skip=true
|
||||
./mvnw -B --no-transfer-progress clean verify -Pnative -Dquarkus.native.remote-container-build=true -Djgitver.skip=true
|
||||
|
||||
- name: Add coverage to PR
|
||||
@@ -36,6 +36,9 @@ jobs:
|
||||
min-coverage-changed-files: 60
|
||||
title: ${{ env.REPO }} Coverage
|
||||
|
||||
- id: version
|
||||
run: echo "version=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "GITHUB_OUTPUT"
|
||||
|
||||
- name: Build Container
|
||||
if: github.ref_name == 'main'
|
||||
run: docker build -f src/main/docker/Dockerfile.native-micro -t ${{ env.REPO }} .
|
||||
@@ -47,6 +50,5 @@ jobs:
|
||||
- name: create tag
|
||||
if: github.ref_name == 'main'
|
||||
run: |
|
||||
version = var=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
|
||||
git tag ${version} -m "release ${version}"
|
||||
git push origin ${version}
|
||||
git tag ${{ steps.version.outputs.version }} -m "release ${{ steps.version.outputs.version }}"
|
||||
git push origin ${{ steps.version.outputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user