Added a new input variable `asdf-version`.

By default, the latest ASDF will be used.
This commit is contained in:
Alexander Artemenko 2021-06-07 00:29:46 +03:00
parent 660773074c
commit 1e761224aa
2 changed files with 16 additions and 2 deletions

View file

@ -2,6 +2,12 @@
ChangeLog ChangeLog
=========== ===========
1.1.0 (2021-06-06)
==================
Added a new input variable ``asdf-version``. By default, the latest
ASDF will be used.
1.0.2 (2021-04-04) 1.0.2 (2021-04-04)
================== ==================

View file

@ -4,6 +4,9 @@ inputs:
asdf-system: asdf-system:
description: 'ASDF system to install' description: 'ASDF system to install'
required: false required: false
asdf-version:
description: 'ASDF version to install. If not specified, then latest version will be used'
required: false
qlfile-template: qlfile-template:
description: "Djula template for qlfile. All environment variables are available in it's context" description: "Djula template for qlfile. All environment variables are available in it's context"
required: false required: false
@ -40,8 +43,13 @@ runs:
- name: Upgrade ASDF to the Latest Version - name: Upgrade ASDF to the Latest Version
shell: bash shell: bash
run: | run: |
echo ::group::Upgrade ASDF if [[ -n "${{ inputs.asdf-version }}" ]]; then
echo ::group::Installing ASDF ${{ inputs.asdf-version }}
ros install asdf/${{ inputs.asdf-version }}
else
echo ::group::Installing latest ASDF
ros install asdf ros install asdf
fi
echo ::endgroup:: echo ::endgroup::
- name: Install Qlot - name: Install Qlot
shell: bash shell: bash