File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 41
41
if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
42
42
run : |
43
43
zip alpaca-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-linux-x64.zip chat
44
+
45
+ - name : Create release
46
+ id : create_release
47
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
48
+ uses : zendesk/action-create-release@v1
49
+ env :
50
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51
+ with :
52
+ tag_name : ${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}
44
53
45
54
- name : Upload release
46
55
id : upload_release
@@ -72,11 +81,21 @@ jobs:
72
81
run : |
73
82
make
74
83
84
+
75
85
- name : Pack artifacts
76
86
id : pack_artifacts
77
87
if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
78
88
run : |
79
89
zip alpaca-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-mac-x64.zip chat
90
+
91
+ - name : Create release
92
+ id : create_release
93
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
94
+ uses : zendesk/action-create-release@v1
95
+ env :
96
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
97
+ with :
98
+ tag_name : ${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}
80
99
81
100
- name : Upload release
82
101
id : upload_release
You can’t perform that action at this time.
0 commit comments