Add input: roswell-version

If not specified, the action will install the most recent version of
Roswell which is known to be compatible with this action, i.e.
v21.06.14.110; however, users can set this input equal to "master", and
the action will install the latest version of Roswell instead.
This commit is contained in:
Matteo Landi 2021-10-18 20:01:38 +02:00
parent 26ec3d804c
commit 4d14f6133e

View file

@ -1,6 +1,10 @@
name: 'Setup Common Lisp'
inputs:
roswell-version:
description: 'Roswell version to install. If not specified, then latest version will be used'
required: false
default: 'master'
asdf-system:
description: 'ASDF system to install'
required: false
@ -36,7 +40,7 @@ runs:
brew install automake autoconf curl
fi
curl -L https://raw.githubusercontent.com/svetlyak40wt/roswell/patches/scripts/install-for-ci.sh | sh
curl -L https://raw.githubusercontent.com/roswell/roswell/${{ inputs.roswell-version }}/scripts/install-for-ci.sh | sh
echo $HOME/.roswell/bin >> $GITHUB_PATH
echo ::endgroup::