File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1919
2020 # Steps represent a sequence of tasks that will be executed as part of the job
2121 steps :
22- - name : Install 7Zip PowerShell Module
22+ - name : Check Commit and Install 7Zip PowerShell Module
2323 shell : powershell
2424
2525 run : |
4545 - name : Build Artifact
4646 shell : cmd
4747 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
4852
4953 - name : Create Release
5054 id : create_release
5357 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5458 with :
5559 tag_name : ${{github.run_number}}
56- release_name : Release ${{github.run_number}}
60+ release_name : ${{ env.CURRENT_DATETIME }} ( ${{ github.run_number }})
5761 body : |
5862 Automated Release by GitHub Action CI
5963 draft : false
You can’t perform that action at this time.
0 commit comments