-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
29 lines (26 loc) · 909 Bytes
/
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
name: Check Python Version
author: Samuel Colvin <[email protected]>
description: Check the release tag matches the library version before deploy
inputs:
version_file_path:
description: Path to python file containing the version number string
required: true
version_pattern:
description: >
Custom regular expression to find version with, defaults to
`(?i)^(__version__|VERSION) *= *([\'"])v?(?P<version>.+?)\2`
required: false
test_github_ref:
description: Version to check, defaults to using `GITHUB_REF` - this is mostly for testing
required: false
skip_env_check:
description: >
Set to "true" to skip environment variable (e.g. `GITHUB_REF`, or `input.test_github_ref`) check,
mostly useful when you want to use outputs in later steps
required: false
runs:
using: docker
image: Dockerfile
branding:
icon: check-circle
color: orange