diff --git a/ChangeLog.rst b/ChangeLog.rst index d262219..0dba86b 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -2,6 +2,12 @@ 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) ================== diff --git a/action.yml b/action.yml index d73fe32..42905ea 100644 --- a/action.yml +++ b/action.yml @@ -4,6 +4,9 @@ inputs: asdf-system: description: 'ASDF system to install' required: false + asdf-version: + description: 'ASDF version to install. If not specified, then latest version will be used' + required: false qlfile-template: description: "Djula template for qlfile. All environment variables are available in it's context" required: false @@ -40,8 +43,13 @@ runs: - name: Upgrade ASDF to the Latest Version shell: bash run: | - echo ::group::Upgrade ASDF - ros install 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 + fi echo ::endgroup:: - name: Install Qlot shell: bash