Update maven.yml
This commit is contained in:
parent
8adb7eda06
commit
1fc914327f
1 changed files with 5 additions and 7 deletions
12
.github/workflows/maven.yml
vendored
12
.github/workflows/maven.yml
vendored
|
@ -50,21 +50,19 @@ jobs:
|
|||
- name: Move Artifact
|
||||
run: mv staging/*.jar extracted-jar/
|
||||
|
||||
- name: Set release tag
|
||||
run: echo "::set-output name=RELEASE_TAG::$(date +'%Y%m%d%H%M%S')"
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ env.RELEASE_TAG }}
|
||||
release_name: Release ${{ env.RELEASE_TAG }}
|
||||
tag_name: ${{ steps.set_release_tag.outputs.RELEASE_TAG }}
|
||||
release_name: Release ${{ steps.set_release_tag.outputs.RELEASE_TAG }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
|
||||
- name: Get current date and time
|
||||
id: get_date
|
||||
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M%S')"
|
||||
|
||||
- name: Upload Artifact as Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
|
|
Loading…
Reference in a new issue