mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-05-10 16:46:13 +08:00
main.yml
This commit is contained in:
parent
de67251db7
commit
0b21bf687c
2 changed files with 13 additions and 28 deletions
28
.github/workflows/main.yml
vendored
28
.github/workflows/main.yml
vendored
|
|
@ -1,29 +1,27 @@
|
|||
# This is a basic workflow to help you get started with Actions
|
||||
name: Build LaTeX CV
|
||||
|
||||
name: CI
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the "master" branch
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
branches: [ "master", "github-actions" ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
container: texlive/texlive:latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install fonts
|
||||
run: |
|
||||
apt update
|
||||
apt install --yes \
|
||||
fonts-roboto \
|
||||
fonts-adobe-sourcesans3 \
|
||||
;
|
||||
|
||||
- name: LaTeX compilation
|
||||
# You may pin to the exact commit or the version.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue