generate tag from time
This commit is contained in:
@@ -48,6 +48,9 @@ jobs:
|
||||
- name: Get current time
|
||||
id: time
|
||||
run: echo "::set-output name=time::$(TZ='America/Los_Angeles' date +'%Y-%m-%d %H:%M %p')"
|
||||
- name: Get time tag
|
||||
id: time_tag
|
||||
run: echo "::set-output name=tag::$(TZ='America/Los_Angeles' date +'%Y-%m-%d_%H%M_%p')"
|
||||
#----------------------------------------------
|
||||
# install and run the project
|
||||
#----------------------------------------------
|
||||
@@ -75,6 +78,6 @@ jobs:
|
||||
with:
|
||||
name: ${{ steps.time.outputs.time }}
|
||||
md5sum: true
|
||||
target_commitish: ${{ github.sha }}
|
||||
tag_name: ${{ steps.time_tag.outputs.tag }}
|
||||
files: |-
|
||||
calendars.zip
|
||||
Reference in New Issue
Block a user