main.yml 962 B

123456789101112131415161718192021222324252627282930313233343536
  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. paths:
  9. - 'markdown/**'
  10. # Allows you to run this workflow manually from the Actions tab
  11. workflow_dispatch:
  12. jobs:
  13. build-resume:
  14. runs-on: ubuntu-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. uses: ./actions
  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