main.yml 1007 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # This is a basic workflow to help you get started with Actions
  2. name: build-resume
  3. # Controls when the action will run.
  4. on:
  5. # Triggers the workflow on push or pull request events but only for the master branch
  6. push:
  7. branches: [ master ]
  8. # Allows you to run this workflow manually from the Actions tab
  9. workflow_dispatch:
  10. jobs:
  11. build:
  12. runs-on: ubuntu-latest
  13. container:
  14. image: docker.pkg.github.com/mszep/pandoc_resume/resume_builder:latest
  15. steps:
  16. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  17. - uses: actions/checkout@v2
  18. - name: Test directory contents
  19. run: ls -al
  20. - name: Build resume
  21. run: make
  22. - name: Upload a Build Artifact
  23. uses: actions/upload-artifact@v2.2.3
  24. with:
  25. # Artifact name
  26. name: Resume PDF # optional, default is artifact
  27. # A file, directory or wildcard pattern that describes what to upload
  28. path: output/*.pdf