diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ac3efc..9082fdd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - texlive_version: [2020, 2021, 2022, latest] + texlive_version: [2020, 2021, 2022, 2023, latest] runs-on: ubuntu-latest steps: - name: Set up Git repository diff --git a/README.md b/README.md index 4d9082e..039f886 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This action is suitable to run arbitrary commands in a LaTeX environment. If you * `run`: Arbitrary bash codes to be executed. It will be executed in the form of `bash -eo pipefail -c {input}`. * `scheme`: The scheme of TeXLive to be used, either full or small. By default, full TeXLive is used. This input cannot co-exist with `docker_image` input. -* `texlive_version`: The version of TeXLive to be used. Supported inputs include 2020, 2021, 2022, 2023, and latest. By default the latest TeXLive is used. This input cannot co-exist with `docker_image` input. +* `texlive_version`: The version of TeXLive to be used. Supported inputs include 2020, 2021, 2022, 2023, 2024, and latest. By default the latest TeXLive is used. This input cannot co-exist with `docker_image` input. * `docker_image`: Custom which docker image to be used. Only [latex-docker images](https://github.com/xu-cheng/latex-docker/pkgs/container/texlive-full) are supported. ## Example diff --git a/action.sh b/action.sh index e030c7c..c4c3676 100755 --- a/action.sh +++ b/action.sh @@ -30,9 +30,12 @@ fi if [[ -z "$INPUT_DOCKER_IMAGE" ]]; then case "$INPUT_TEXLIVE_VERSION" in - "" | "latest" | "2023") + "" | "latest" | "2024") image_version="latest" ;; + "2023") + image_version="20240301" + ;; "2022") image_version="20230301" ;; @@ -43,7 +46,7 @@ if [[ -z "$INPUT_DOCKER_IMAGE" ]]; then image_version="20210301" ;; *) - error "TeX Live version $INPUT_TEXLIVE_VERSION is not supported. The currently supported versions are 2020-2023 or latest." + error "TeX Live version $INPUT_TEXLIVE_VERSION is not supported. The currently supported versions are 2020-2024 or latest." ;; esac