Skip to content

Commit

Permalink
fix: Fix scheme default value assignment
Browse files Browse the repository at this point in the history
Fixes #13.
  • Loading branch information
xu-cheng committed Oct 10, 2023
1 parent 3105d92 commit d9f893f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ if [[ -z "$INPUT_DOCKER_IMAGE" ]]; then
error "TeX Live version $INPUT_TEXLIVE_VERSION is not supported. The currently supported versions are 2020-2023 or latest."
;;
esac

if [[ -z "$INPUT_SCHEME" ]]; then
INPUT_SCHEME="full"
fi

INPUT_DOCKER_IMAGE="ghcr.io/xu-cheng/texlive-$INPUT_SCHEME:$image_version"
fi

Expand Down
1 change: 0 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ inputs:
required: true
scheme:
description: The scheme of TeXLive to be used, either full or small
default: full
texlive_version:
description: The version of TeXLive to be used
docker_image:
Expand Down

0 comments on commit d9f893f

Please sign in to comment.