--- name: "Setup mark" author: Yevhen Fabizhevskyi description: "This action installs mark CLI tool." branding: icon: terminal color: gray-dark inputs: version: description: "mark version." required: false default: "latest" url_prefix: description: "mark url." required: false default: "https://github.com/kovetskiy/mark" runs: using: "composite" steps: - name: Validate inputs env: INPUT_VERSION: "${{ inputs.version }}" run: ./validate-inputs.sh "${INPUT_VERSION}" shell: sh working-directory: ${{ github.action_path }}/src - name: Install kovetskiy/mark env: INPUT_VERSION: "${{ inputs.version }}" INPUT_URL_PREFIX: "${{ inputs.url_prefix }}" run: ./install-mark.sh "${INPUT_VERSION}" "${INPUT_URL_PREFIX}" shell: sh working-directory: ${{ github.action_path }}/src