fix: tr is a filter #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Markdown to PDF build copied from | |
# https://github.com/sladkoff/resume | |
on: | |
push: | |
branches: | |
- main | |
name: Build PDF | |
jobs: | |
build: | |
name: Build and Release PDF | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Sanitize | |
# Some unicode characters don't cause problems for the PDF. | |
run: | | |
< README.md tr --delete 'πͺͺβ ππ§βπ»π¨βππ ' > README2.md | |
- name: Build PDF from Markdown | |
uses: BaileyJM02/[email protected] | |
with: | |
input_path: README2.md | |
output_dir: out | |
- name: Rename PDF | |
run: cp out/README2.pdf ./david_bliss_cv.pdf | |
- name: Semantic Release | |
id: semantic | |
uses: cycjimmy/semantic-release-action@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
branch: main | |
- name: Release | |
if: steps.semantic.outputs.new_release_published == 'true' | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: ${{ steps.semantic.outputs.new_release_git_tag }} | |
files: david_bliss_cv.pdf |