File tree Expand file tree Collapse file tree 4 files changed +3
-40
lines changed Expand file tree Collapse file tree 4 files changed +3
-40
lines changed Original file line number Diff line number Diff line change @@ -57,23 +57,12 @@ jobs:
5757 steps :
5858 - uses : actions/checkout@v3
5959 - uses : ./
60- with :
61- install-cli-integration-test : ' true '
60+ env :
61+ AUTIFY_CLI_INTEGRATION_TEST_INSTALL : 1
6262 - run : |
6363 echo token | autify web auth login
6464 echo token | autify mobile auth login
6565 autify connect client install
6666 env:
6767 AUTIFY_CONNECT_CLIENT_MODE: fake
6868 - run : autify-cli-integration-test
69-
70- test-use-cache :
71- runs-on : ubuntu-latest
72- steps :
73- - uses : actions/checkout@v3
74- - uses : ./
75- with :
76- use-cache : ' true'
77- - uses : ./
78- with :
79- use-cache : ' true'
Original file line number Diff line number Diff line change @@ -27,14 +27,6 @@ shell-installer-url:
2727 description : " Shell installer URL"
2828 # TODO: Use stable
2929 default : " https://autify-cli-assets.s3.amazonaws.com/autify-cli/channels/beta/install-cicd.bash"
30- use-cache :
31- required : false
32- description : " Use cached CLI installed by previous steps if existing."
33- default : " false"
34- install-cli-integration-test :
35- required : false
36- description : " Install autify-cli-integration-test package as well."
37- default : " false"
3830` ` `
3931
4032### v1
Original file line number Diff line number Diff line change 88 description : ' Shell installer URL'
99 # TODO: Use stable
1010 default : " https://autify-cli-assets.s3.amazonaws.com/autify-cli/channels/beta/install-cicd.bash"
11- use-cache :
12- required : false
13- description : ' Use cached CLI installed by previous steps if existing.'
14- default : ' false'
15- install-cli-integration-test :
16- required : false
17- description : ' Install autify-cli-integration-test package as well.'
18- default : ' false'
1911
2012runs :
2113 using : ' composite'
2618 shell : bash
2719 env :
2820 INPUT_SHELL_INSTALLER_URL : ${{ inputs.shell-installer-url }}
29- INPUT_USE_CACHE : ${{ inputs.use-cache }}
30- INPUT_INSTALL_CLI_INTEGRATION_TEST : ${{ inputs.install-cli-integration-test }}
3121 - run : autify --version
3222 shell : bash
Original file line number Diff line number Diff line change 22set -xe
33
44: " ${INPUT_SHELL_INSTALLER_URL:? " Provide the installer URL" } "
5- : " ${INPUT_USE_CACHE:? " Provide true or false" } "
6- : " ${INPUT_INSTALL_CLI_INTEGRATION_TEST:? " Provide true or false" } "
7-
8- if [ " $INPUT_USE_CACHE " == " true" ]; then
9- export AUTIFY_CLI_INSTALL_USE_CACHE=1
10- fi
11- if [ " $INPUT_INSTALL_CLI_INTEGRATION_TEST " == " true" ]; then
12- export AUTIFY_CLI_INTEGRATION_TEST_INSTALL=1
13- fi
145
156cd " $RUNNER_TEMP "
7+ export AUTIFY_CLI_INSTALL_USE_CACHE=1
168curl -L " $INPUT_SHELL_INSTALLER_URL " | bash -xe
179
1810cat " $RUNNER_TEMP /autify/path" >> " $GITHUB_PATH "
You can’t perform that action at this time.
0 commit comments