Update maven.yml
This commit is contained in:
parent
58e2ab34cb
commit
03dd2317e8
1 changed files with 6 additions and 0 deletions
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
|
@ -4,6 +4,9 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -27,6 +30,9 @@ jobs:
|
||||||
- name: Erstelle Git-Tag
|
- name: Erstelle Git-Tag
|
||||||
run: git tag $(date +'%Y%m%d%H%M%S') -a -m "Generierter Tag von GitHub Actions"
|
run: git tag $(date +'%Y%m%d%H%M%S') -a -m "Generierter Tag von GitHub Actions"
|
||||||
|
|
||||||
|
- name: Sende Tags
|
||||||
|
run: git push --tags --quiet
|
||||||
|
|
||||||
- name: Baue mit Maven
|
- name: Baue mit Maven
|
||||||
run: mvn clean install
|
run: mvn clean install
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue