Skip to content

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh4464 committed Jun 17, 2024
1 parent 36e65aa commit 8a0822c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,20 @@ jobs:
pandoc "$file" --resource-path=$(dirname $file):$(dirname $file)/assets -o "pdfs/$(basename "$file" .md).pdf" --pdf-engine=xelatex --template=$PWD/template/my_template.latex
done
- name: List PDFs
run: ls -l pdfs

- name: Zip PDFs
run: zip -r pdfs.zip pdfs

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.0.2
release_name: Release v1.0.2
tag_name: v1.0.4
release_name: Release v1.0.4
body: |
This is the release description.
draft: false
Expand All @@ -66,6 +72,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: pdfs
asset_path: pdfs.zip
asset_name: pdfs.zip
asset_content_type: application/zip

0 comments on commit 8a0822c

Please sign in to comment.