Commit 4b70296 1 parent c76f733 commit 4b70296 Copy full SHA for 4b70296
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Generate tag name
12
- id : tag_name
13
- run : echo "TAG_NAME=$(date +%Y%m%d %H%M%S)" >> $GITHUB_OUTPUT
12
+ id : generate_tag_name
13
+ run : echo "TAG_NAME=$(date +'%Y-%m-%d- %H%M%S' )" >> $GITHUB_OUTPUT
14
14
15
15
build :
16
16
needs : prepare
75
75
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
76
76
run : |
77
77
cd "${{ github.workspace }}/contrib"
78
- git tag ${{ steps.tag_name .outputs.TAG_NAME }}
79
- git push origin ${{ steps.tag_name .outputs.TAG_NAME }}
78
+ git tag ${{ steps.generate_tag_name .outputs.TAG_NAME }}
79
+ git push origin ${{ steps.generate_tag_name .outputs.TAG_NAME }}
80
80
shell : bash
81
81
82
82
- name : Clean build and package
93
93
env :
94
94
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
95
95
with :
96
- tag_name : ${{ steps.tag_name .outputs.TAG_NAME }}
96
+ tag_name : ${{ steps.generate_tag_name .outputs.TAG_NAME }}
97
97
files : |
98
98
${{ github.workspace }}/contrib-build/contrib_build-${{runner.os}}.tar.gz
You can’t perform that action at this time.
0 commit comments