File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 19
19
20
20
# Steps represent a sequence of tasks that will be executed as part of the job
21
21
steps :
22
- - name : Install 7Zip PowerShell Module
22
+ - name : Check Commit and Install 7Zip PowerShell Module
23
23
shell : powershell
24
24
25
25
run : |
45
45
- name : Build Artifact
46
46
shell : cmd
47
47
run : call .\ArtifactBuild.cmd
48
+
49
+ - name : Get current date and time
50
+ id : datetime
51
+ run : echo "CURRENT_DATETIME=$(date +'%d/%m/%Y %H:%M')" >> $GITHUB_ENV
48
52
49
53
- name : Create Release
50
54
id : create_release
53
57
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54
58
with :
55
59
tag_name : ${{github.run_number}}
56
- release_name : Release ${{github.run_number}}
60
+ release_name : ${{ env.CURRENT_DATETIME }} ( ${{ github.run_number }})
57
61
body : |
58
62
Automated Release by GitHub Action CI
59
63
draft : false
You can’t perform that action at this time.
0 commit comments