Update CI-master_tests.yml
This commit is contained in:
parent
39d811c16f
commit
1e796b9876
8
.github/workflows/CI-master_tests.yml
vendored
8
.github/workflows/CI-master_tests.yml
vendored
@ -412,6 +412,10 @@ jobs:
|
|||||||
id: date
|
id: date
|
||||||
run: echo "::set-output name=date::$(date +'%Y%m%d')"
|
run: echo "::set-output name=date::$(date +'%Y%m%d')"
|
||||||
|
|
||||||
|
- name: Generate random
|
||||||
|
id: random_n
|
||||||
|
run: echo "::set-output name=tag_name::$(openssl rand -hex 4)"
|
||||||
|
|
||||||
# Create the release
|
# Create the release
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
@ -419,8 +423,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.sha }} ${{steps.date.outputs.date}}
|
tag_name: ${{steps.date.outputs.date}}-${{steps.date.outputs.random_n}}
|
||||||
release_name: Release ${{ github.ref }} ${{ github.sha }} ${{steps.date.outputs.date}}
|
release_name: Release ${{ github.ref }} ${{steps.date.outputs.date}}-${{steps.date.outputs.random_n}}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user