This commit is contained in:
parent
1dd1125c16
commit
ed145caa82
@ -16,6 +16,13 @@ jobs:
|
|||||||
- name: Validate YAML
|
- name: Validate YAML
|
||||||
uses: https://github.com/GrantBirki/json-yaml-validate@v2.6.1
|
uses: https://github.com/GrantBirki/json-yaml-validate@v2.6.1
|
||||||
|
|
||||||
|
- name: Get current timestamp
|
||||||
|
id: timestamp
|
||||||
|
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')"
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: success()
|
if: success()
|
||||||
uses: https://github.com/ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
tag: ${{ steps.timestamp.outputs.date }}
|
||||||
|
commit: ${{ steps.timestamp.outputs.date }}
|
Loading…
Reference in New Issue
Block a user