File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 91
91
working-directory : ./templates
92
92
- name : Upload ${{ matrix.template }}.zip to release
93
93
run : |
94
- gh release upload ${{ github.ref }} \
94
+ gh release upload ${{ github.event.release.tag_name }} \
95
95
"./templates/${{ matrix.template }}.zip#模板包·${{ matrix.label }} — ${{ matrix.template }}.zip"
96
96
env :
97
97
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -119,7 +119,7 @@ jobs:
119
119
name : cls
120
120
- name : Upload ${{ matrix.cls.name }}.cls to release
121
121
run : |
122
- gh release upload ${{ github.ref }} \
122
+ gh release upload ${{ github.event.release.tag_name }} \
123
123
"${{ matrix.cls.name }}.cls#文档类·${{ matrix.cls.label }} — ${{ matrix.cls.name }}.cls(用于升级替换)"
124
124
env :
125
125
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -177,9 +177,9 @@ jobs:
177
177
path : handbook
178
178
- name : Upload handbooks
179
179
run : |
180
- gh release upload ${{ github.ref }} \
180
+ gh release upload ${{ github.event.release.tag_name }} \
181
181
"handbook/undergraduate-handbook.pdf#快速使用指南·本科"
182
- gh release upload ${{ github.ref }} \
182
+ gh release upload ${{ github.event.release.tag_name }} \
183
183
"handbook/graduate-handbook.pdf#快速使用指南·硕博"
184
184
env :
185
185
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments