Skip to content

Commit 76842d1

Browse files
committed
fixup! ci: automatically generate changelog.
1 parent 8650ca6 commit 76842d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
name: cls
6868
- name: Copy manual to the template folder.
6969
run: |
70-
mv bithesis.pdf ./templates/${{ matrix.template }}/'bithesis-使用手册.pdf'
70+
mv bithesis.pdf ./templates/${{ matrix.template }}
7171
mv ${{ matrix.cls }}.cls ./templates/${{ matrix.template }}
7272
- name: Install zip
7373
uses: montudor/action-zip@v1
@@ -109,7 +109,7 @@ jobs:
109109
publish_pdfs:
110110
name: Generate changelog
111111
runs-on: ubuntu-latest
112-
needs: build
112+
needs: [build, publish_cls, publish_templates]
113113
outputs:
114114
release_body: ${{ steps.git-cliff.outputs.content }}
115115
steps:
@@ -137,10 +137,10 @@ jobs:
137137
uses: svenstaro/upload-release-action@v2
138138
with:
139139
file: bithesis.pdf
140-
asset_name: bithesis-使用手册.pdf
141140
repo_token: ${{ secrets.GITHUB_TOKEN }}
142141
tag: ${{ github.ref }}
143-
body: ${{ steps.git-cliff.outputs.content }}
142+
body: |
143+
${{ steps.git-cliff.outputs.content }}
144144
145145
update_changelog:
146146
name: Generate changelog

0 commit comments

Comments
 (0)