salt/.github/actions/setup-salt-version/action.yml
Pedro Algarvio 4315342238 Add, and use, the setup-salt-version action
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-01-18 14:34:13 +00:00

21 lines
502 B
YAML

---
name: setup-salt-version
description: Setup Salt Version
inputs:
salt-version:
type: string
default: ""
description: >
The Salt version to set prior to running tests or building packages.
If not set, it is discover at run time, like, for example, capturing
the output of running `python3 salt/version.py`
runs:
using: composite
steps:
- name: Setup Salt Version
shell: bash
run: |
tools pkg set-salt-version ${{ inputs.salt-version }}