Update maven.yml
This commit is contained in:
parent
acd8be326c
commit
292a67c37b
1 changed files with 6 additions and 8 deletions
12
.github/workflows/maven.yml
vendored
12
.github/workflows/maven.yml
vendored
|
@ -4,13 +4,13 @@ on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
# Fügen Sie hier Ihre Build-Schritte ein...
|
||||||
# Weitere Build-Schritte hier...
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: build
|
needs: build
|
||||||
|
@ -20,11 +20,9 @@ jobs:
|
||||||
- name: Erstellen eines Releases
|
- name: Erstellen eines Releases
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{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}}
|
GITHUB_TOKEN: ${{ secrets.project_token }} # Ersetzen Sie GITHUB_PAT durch den Namen Ihres Secrets
|
||||||
with:
|
with:
|
||||||
# Verwendet den Tag-Namen, der den Trigger ausgelöst hat, als Tag-Name für das Release
|
tag_name: ${{ github.ref_name }}
|
||||||
tag_name: ${{ github.ref }}
|
release_name: Release ${{ github.ref_name }}
|
||||||
# Erstellt einen Release-Namen, der dem Tag-Namen entspricht
|
|
||||||
release_name: Release ${{ github.ref }}
|
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
Loading…
Reference in a new issue