From af9c90ade5baea91f709efcdee0bb61e3f2001f9 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Lazo Date: Tue, 29 Nov 2022 16:46:30 -0500 Subject: [PATCH] fix: elixir setup action --- elixir/setup/README.md | 1 + elixir/setup/action.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/elixir/setup/README.md b/elixir/setup/README.md index 1e4619f..8276c2f 100644 --- a/elixir/setup/README.md +++ b/elixir/setup/README.md @@ -23,4 +23,5 @@ Set up the Elixir project. with: elixir-version: '1.11' # optional, fallback to use .tool-versions otp-version: '22.3' # optional, fallback to use .tool-versions + version-type: 'loose' # optional, fallback to strict ``` diff --git a/elixir/setup/action.yml b/elixir/setup/action.yml index a0c378e..052ded1 100644 --- a/elixir/setup/action.yml +++ b/elixir/setup/action.yml @@ -9,6 +9,10 @@ inputs: otp-version: description: The Erlang version. It fallback to .tool-versions if not specified required: false + version-type: + description: The versioning type check, either strict or loose + required: false + default: strict runs: using: composite @@ -32,6 +36,7 @@ runs: with: elixir-version: ${{ inputs.elixir-version || steps.tool-versions-elixir.outputs.plugin-version }} otp-version: ${{ inputs.otp-version || steps.tool-versions-erlang.outputs.plugin-version }} + version-type: ${{ inputs.version-type }} - name: Restore dependencies cache uses: actions/cache@v2