Skip to content

Commit 129170b

Browse files
committed
chore: update release script
1 parent a814424 commit 129170b

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/cd.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ jobs:
1717
- name: create file list
1818
id: files_list
1919
run: |
20+
mkdir output
2021
echo "files=$(printf '"%s" ' *.md)" > $GITHUB_OUTPUT
2122
- uses: docker://pandoc/latex:2.9
2223
with:
23-
args: --output=output/build-your-ai-coding-assistant.pdf ${{ steps.files_list.outputs.files }}
24-
- uses: actions/upload-artifact@v3
24+
args: --output=output/build-your-ai-coding-assistant.docx ${{ steps.files_list.outputs.files }}
25+
26+
- name: Upload assets to release
27+
uses: svenstaro/upload-release-action@v2
2528
with:
26-
name: output
27-
path: output
29+
repo_token: ${{ secrets.GITHUB_TOKEN }}
30+
file: output/build-your-ai-coding-assistant.docx
31+
tag: ${{ github.ref }}
32+
overwrite: true
33+
file_glob: true

0 commit comments

Comments
 (0)