Skip to content

fix: Strip unicode from CV before PDF #7

fix: Strip unicode from CV before PDF

fix: Strip unicode from CV before PDF #7

Workflow file for this run

# 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: |
tr --delete 'πŸͺͺβœ…πŸŒŸπŸ§‘β€πŸ’» πŸ‘¨β€πŸŽ“πŸ…' README.md > 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