-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (43 loc) · 1.33 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
name: Setup Iterative Tools
description: A helper composite action to setup iterative tools (plz not for production)
author: Iterative, Inc.
inputs:
python-version:
description: Pass a value through to actions/setup-python ("3.x")
default: '3.x'
required: false
node-version:
description: Pass a value through to actions/setup-node ("16.x")
default: '16.x'
required: false
dvc-version:
description: Pass a value through to iterative/setup-dvc ("latest")
default: 'latest'
required: false
cml-version:
description: Pass a value through to iterative/setup-cml ("latest")
default: 'latest'
required: false
runs:
using: 'composite'
steps:
- name: Warning
shell: bash
run: echo "::warning title=NOT FOR PRODUCTION::This action is intended for testing, rapid development, or prototyping. Not for production workflows!"
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: ${{ inputs.python-version }}
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node-version }}
- name: Setup DVC
uses: iterative/setup-dvc@v1
with:
version: ${{ inputs.dvc-version }}
- name: Setup CML
uses: iterative/setup-cml@v1
with:
version: ${{ inputs.cml-version }}