setup-mark-action/action.yml
2024-11-08 09:20:07 +08:00

32 lines
810 B
YAML

---
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 }}"
run: ./install-mark.sh "${INPUT_VERSION}"
shell: sh
working-directory: ${{ github.action_path }}/src