File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1212 uses : actions/checkout@v2
1313 with :
1414 fetch-depth : 0
15+ - name : get_timestamp
16+ id : date
17+ run : echo "::set-output name=date::$(date +'%Y-%m-%d_%H-%M-%S')"
1518 - name : build artifacts
1619 run : |
1720 mkdir release
2629 with :
2730 draft : false
2831 prerelease : false
29- release_name : ${{ github.ref }}
30- tag_name : ${{ github.ref }}
32+ release_name : release-${{ steps.date.outputs.date }}
3133 env :
3234 GITHUB_TOKEN : ${{ github.token }}
3335 - name : upload linux artifact
3638 GITHUB_TOKEN : ${{ github.token }}
3739 with :
3840 upload_url : ${{ steps.create_release.outputs.upload_url }}
39- asset_path : a .zip
40- asset_name : a .zip
41+ asset_path : release .zip
42+ asset_name : release .zip
4143 asset_content_type : application/zip
4244
You can’t perform that action at this time.
0 commit comments