Skip to content

Commit

Permalink
feat(ci): add pdf and rtf to CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowguardian507-irl committed May 8, 2024
1 parent cd3adcf commit c393d47
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,37 @@ jobs:
if: ${{ !contains(github.event.head_commit.message, '#GHActions') }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: ls -alh ./
- run: rm -f ./CV.odt
- uses: docker://pandoc/core:2.9
- run: rm -f ./CV.alt.pdf
- run: rm -f ./CV.rtf
- uses: docker://pandoc/core:3.1.13
with:
args: >-
--standalone
--from=markdown
--to=odt
--output=CV.odt
./CV.md
- uses: docker://pandoc/core:3.1.13
with:
args: >-
--standalone
--from=markdown
--to=rtf
--output=CV.rtf
./CV.md
- uses: docker://pandoc/latex:3.1.13
with:
args: >-
--standalone
--from=markdown
--to=pdf
--output=CV.alt.pdf
./CV.md
- uses: stefanzweifel/git-auto-commit-action@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(ODT): #GHActions - generate ODT File"
commit_user_name: Repo Actions bot
Expand Down
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"recommendations": [
"yzane.markdown-pdf",
"takumii.markdowntable",
"davidanson.vscode-markdownlint"
]
Expand Down

0 comments on commit c393d47

Please sign in to comment.