Merge branch 'main' of https://github.com/potzplitz/ExtremeDemonList
This commit is contained in:
commit
d47ceb246b
1 changed files with 10 additions and 4 deletions
14
.github/workflows/maven.yml
vendored
14
.github/workflows/maven.yml
vendored
|
@ -44,6 +44,14 @@ jobs:
|
|||
name: packaged-jar
|
||||
path: extracted-jar
|
||||
|
||||
- name: Get commit message and description
|
||||
id: get_commit_info
|
||||
run: |
|
||||
COMMIT_MSG=$(git log --format=%B -n 1 ${{ github.sha }})
|
||||
COMMIT_DESC=$(git show -s --format=%b ${{ github.sha }})
|
||||
echo "::set-output name=COMMIT_MSG::$COMMIT_MSG"
|
||||
echo "::set-output name=COMMIT_DESC::$COMMIT_DESC"
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
@ -51,7 +59,8 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ steps.set_release_tag.outputs.RELEASE_TAG }}
|
||||
release_name: Release ${{ steps.set_release_tag.outputs.RELEASE_TAG }}
|
||||
release_name: ${{ steps.get_commit_info.outputs.COMMIT_MSG }}
|
||||
body: ${{ steps.get_commit_info.outputs.COMMIT_DESC }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
|
@ -64,6 +73,3 @@ jobs:
|
|||
asset_path: extracted-jar/ExtremeDemonList-0.0.1-SNAPSHOT-jar-with-dependencies.jar
|
||||
asset_name: ExtremeDemonList-0.0.1-SNAPSHOT-jar-with-dependencies.jar
|
||||
asset_content_type: application/ExtremeDemonList-0.0.1-SNAPSHOT-jar-with-dependencies.jar
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue