changed header/footer option for Chrome 120 (#42) #85
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
name: build | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
build: | |
if: github.repository == 'mikepqr/resume.md' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v2 | |
- name: Install markdown | |
run: pip3 install markdown | |
- name: Make resume | |
run: python3 resume.py --debug | |
- name: Rename output | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: | | |
mv resume.pdf resume_$RUNNER_OS.pdf | |
mv resume.html resume_$RUNNER_OS.html | |
- name: Rename output (Windows) | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: | | |
mv resume.pdf resume_windows.pdf | |
mv resume.html resume_windows.html | |
- name: Archive resume.html and resume.pdf | |
uses: actions/upload-artifact@v2 | |
with: | |
path: | | |
*.html |