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
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # This line gives the token permission to create releases
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Generate tag
|
- name: Generate tag
|
||||||
id: tag
|
id: tag
|
||||||
run: echo "::set-output name=tag::$(date +'%Y%m%d%H%M%S')"
|
run: echo "::set-output name=tag::$(date +'%Y%m%d%H%M%S')"
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue