parent
468d9660c4
commit
1544776ecc
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Build Runner
|
- name: Build Runner
|
||||||
run: |
|
run: |
|
||||||
./mvnw -B --no-transfer-progress clean validate -Prelease
|
./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
|
./mvnw -B --no-transfer-progress clean verify -Pnative -Dquarkus.native.remote-container-build=true -Djgitver.skip=true
|
||||||
|
|
||||||
- name: Add coverage to PR
|
- name: Add coverage to PR
|
||||||
@ -36,6 +36,9 @@ jobs:
|
|||||||
min-coverage-changed-files: 60
|
min-coverage-changed-files: 60
|
||||||
title: ${{ env.REPO }} Coverage
|
title: ${{ env.REPO }} Coverage
|
||||||
|
|
||||||
|
- id: version
|
||||||
|
run: echo "version=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Build Container
|
- name: Build Container
|
||||||
if: github.ref_name == 'main'
|
if: github.ref_name == 'main'
|
||||||
run: docker build -f src/main/docker/Dockerfile.native-micro -t ${{ env.REPO }} .
|
run: docker build -f src/main/docker/Dockerfile.native-micro -t ${{ env.REPO }} .
|
||||||
@ -47,6 +50,5 @@ jobs:
|
|||||||
- name: create tag
|
- name: create tag
|
||||||
if: github.ref_name == 'main'
|
if: github.ref_name == 'main'
|
||||||
run: |
|
run: |
|
||||||
version = var=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
|
git tag ${{ steps.version.outputs.version }} -m "release ${{ steps.version.outputs.version }}"
|
||||||
git tag ${version} -m "release ${version}"
|
git push origin ${{ steps.version.outputs.version }}
|
||||||
git push origin ${version}
|
|
||||||
|
12
.mvn/jgitver.config.xml
Normal file
12
.mvn/jgitver.config.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<configuration xmlns="http://jgitver.github.io/maven/configuration/1.1.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://jgitver.github.io/maven/configuration/1.1.0 https://jgitver.github.io/maven/configuration/jgitver-configuration-v1_1_0.xsd">
|
||||||
|
<policy>MAX</policy>
|
||||||
|
<autoIncrementPatch>true</autoIncrementPatch>
|
||||||
|
<useCommitDistance>true</useCommitDistance>
|
||||||
|
<useDirty>false</useDirty>
|
||||||
|
<useGitCommitId>true</useGitCommitId>
|
||||||
|
<gitCommitIdLength>8</gitCommitIdLength>
|
||||||
|
<nonQualifierBranches>main</nonQualifierBranches>
|
||||||
|
<useDefaultBranchingPolicy>true</useDefaultBranchingPolicy>
|
||||||
|
</configuration>
|
Loading…
x
Reference in New Issue
Block a user