diff --git a/action.yml b/action.yml index e69c10e..b1b6cd6 100644 --- a/action.yml +++ b/action.yml @@ -21,8 +21,6 @@ inputs: args: description: Extra arguments to be passed to the LaTeX engine default: "-pdf -file-line-error -halt-on-error -interaction=nonstopmode" - extra_packages: - description: "[Deprecated] Install extra packages by tlmgr" extra_system_packages: description: Install extra packages by apk extra_fonts: @@ -52,7 +50,6 @@ runs: "${{ inputs.continue_on_error }}" \ "${{ inputs.compiler }}" \ "${{ inputs.args }}" \ - "${{ inputs.extra_packages }}" \ "${{ inputs.extra_system_packages }}" \ "${{ inputs.extra_fonts }}" \ "${{ inputs.pre_compile }}" \ diff --git a/entrypoint.sh b/entrypoint.sh index 64626df..0823fe9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -22,14 +22,13 @@ work_in_root_file_dir="${3}" continue_on_error="${4}" compiler="${5}" args="${6}" -extra_packages="${7}" -extra_system_packages="${8}" -extra_fonts="${9}" -pre_compile="${10}" -post_compile="${11}" -latexmk_shell_escape="${12}" -latexmk_use_lualatex="${13}" -latexmk_use_xelatex="${14}" +extra_system_packages="${7}" +extra_fonts="${8}" +pre_compile="${9}" +post_compile="${10}" +latexmk_shell_escape="${11}" +latexmk_use_lualatex="${12}" +latexmk_use_xelatex="${13}" # install git on old images if ! command -v git &>/dev/null; then @@ -53,7 +52,7 @@ fi expanded_root_file=() for pattern in "${root_file[@]}"; do # shellcheck disable=SC2206 - expanded=( $pattern ) + expanded=($pattern) expanded_root_file+=("${expanded[@]}") done root_file=("${expanded_root_file[@]}") @@ -122,7 +121,7 @@ if [[ -n "$extra_fonts" ]]; then expanded_extra_fonts=() for pattern in "${extra_fonts[@]}"; do # shellcheck disable=SC2206 - expanded=( $pattern ) + expanded=($pattern) expanded_extra_fonts+=("${expanded[@]}") done extra_fonts=("${expanded_extra_fonts[@]}") @@ -141,10 +140,6 @@ if [[ -n "$extra_fonts" ]]; then fc-cache -fv fi -if [[ -n "$extra_packages" ]]; then - warn "Input 'extra_packages' is deprecated. We now build LaTeX document with full TeXLive installed." -fi - if [[ -n "$pre_compile" ]]; then info "Run pre compile commands" eval "$pre_compile"