mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
21 lines
502 B
YAML
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 }}
|