Update maven.yml
This commit is contained in:
parent
e780ed6445
commit
c854dd18bd
1 changed files with 2 additions and 1 deletions
3
.github/workflows/maven.yml
vendored
3
.github/workflows/maven.yml
vendored
|
@ -27,13 +27,14 @@ jobs:
|
|||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write # This line gives the token permission to create releases
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Generate tag
|
||||
id: tag
|
||||
run: echo "::set-output name=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 }}
|
||||
|
|
Loading…
Reference in a new issue