File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ inputs:
3030 userDirectory :
3131 description : " The directory containing your users. Each user in a separate directory."
3232 required : false
33+ apimCLIVersion :
34+ description : " If you would like to use a different APIM-CLI version than the default used by the action. Format is: x.y.z"
35+ required : false
3336runs :
3437 using : " docker"
3538 image : " Dockerfile"
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- CLI=/apim-cli-1.5.1/scripts/apim.sh
3+ if ! [ -z ${INPUT_APIMCLIVERSION} ]; then
4+ echo " Downloading specified APIM-CLI version: ${INPUT_APIMCLIVERSION} "
5+ wget -qO- https://github.com/Axway-API-Management-Plus/apim-cli/releases/download/apimcli-${INPUT_APIMCLIVERSION} /axway-apimcli-${INPUT_APIMCLIVERSION} .tar.gz | tar xvfz - -C /
6+ CLI=/apim-cli-${INPUT_APIMCLIVERSION} /scripts/apim.sh
7+ else
8+ CLI=/apim-cli-1.5.1/scripts/apim.sh
9+ fi
410
511apimCLIArgs=" -h ${INPUT_APIMHOSTNAME} -u ${INPUT_APIMUSERNAME} -p ${INPUT_APIMPASSWORD} ${INPUT_APIMEXTRAARGS} "
612
You can’t perform that action at this time.
0 commit comments