File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 19
19
- id : extract_branch
20
20
name : Extract branch name
21
21
shell : bash
22
- run : echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/redpoint/}}" >> $GITHUB_OUTPUT
22
+ run : |
23
+ echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/redpoint/}}" >> $GITHUB_OUTPUT
24
+ echo "targettag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/redpoint/}}-${GITHUB_SHA:0:8}" >> $GITHUB_OUTPUT
23
25
24
26
llvm-redpoint-linux :
25
27
name : " Build for Linux"
@@ -133,6 +135,7 @@ jobs:
133
135
create-release :
134
136
name : " Create Release"
135
137
needs :
138
+ - get-branch-name
136
139
- llvm-redpoint-linux
137
140
- llvm-redpoint-windows
138
141
runs-on : ubuntu-latest
@@ -144,7 +147,7 @@ jobs:
144
147
artifacts : " llvm-linux-${{ needs.get-branch-name.outputs.branch }},llvm-win64-${{ needs.get-branch-name.outputs.branch }}"
145
148
artifactErrorsFailBuild : true
146
149
artifactContentType : " application/zip"
147
- tag : " ${{ needs.get-branch-name.outputs.branch }}-${{ env.GITHUB_SHA }}"
150
+ tag : " ${{ needs.get-branch-name.outputs.targettag }}"
148
151
commit : ${{ env.GITHUB_SHA }}
149
152
body : This release for Clang ${{ needs.get-branch-name.outputs.branch }} was automatically created from a successful build.
150
153
generateReleaseNotes : true
You can’t perform that action at this time.
0 commit comments