generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
100 lines (93 loc) · 3.67 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
name: 'Setup Poetry environment'
description: >-
This action allows setup Python/Poetry, installing dependencies,
and caching dependencies and Poetry installation all at once.
author: 'Yunosuke Ohsugi'
branding:
icon: 'code'
color: 'green'
inputs:
cache-dependencies:
description: 'Whether to cache installed dependencies.'
default: 'true'
additional-dependency-cache-key:
description: 'Additional dependency cache key.'
poetry-version:
description: 'The Poetry version to install.'
# {{ poetry-version }}
default: '1.4.1'
poetry-install-dependencies:
description: |
'Whether Poetry should install dependencies after completing all setup.'
default: 'true'
# Wrapper around setup-python input.
token:
description: 'Wrapper around `token` input of actions/setup-python.'
default: |
${{ github.server_url == 'https://github.com' && github.token || '' }}
python-architecture:
description: 'Wrapper around `architecture` input of actions/setup-python.'
python-cache-dependency-path:
description: |
'Wrapper around `cache-dependency-path` input of actions/setup-python.'
python-check-latest:
description: 'Wrapper around `check-latest` input of actions/setup-python.'
default: 'false'
python-update-environment:
description: |
'Wrapper around `update-environment` input of actions/setup-python.'
default: 'true'
python-version:
description: 'Wrapper around `version` input of actions/setup-python.'
python-version-file:
description: 'Wrapper around `version-file` input of actions/setup-python.'
# Wrapper around `poetry config` command.
poetry-cache-dir:
description: 'Wrapper around Poetry setting `cache-dir`'
poetry-installer-max-workers:
description: 'Wrapper around Poetry setting `installer.max-workers`.'
poetry-installer-parallel:
description: 'Wrapper around Poetry setting `installer.parallel`.'
poetry-pypi-token:
description: 'Wrapper around Poetry setting `pypi-token`.'
poetry-virtualenvs-create:
description: 'Wrapper around Poetry setting `virtualenvs.create`.'
poetry-virtualenvs-in-project:
description: 'Wrapper around Poetry setting `virtualenvs.in-project`.'
poetry-virtualenvs-path:
description: 'Wrapper around Poetry setting `virtualenvs-path`.'
# Wrapper around `poetry install` command.
poetry-install-additional-args:
description: 'Arguments passed directly to the `poetry install` command.'
poetry-install--all-extras:
description: Whether use `--all-extras` option to `poetry install`.
poetry-install--extras:
description: Wrapper around argument of `poetry install --extras`.
poetry-install--no-root:
description: Whether use `--no-root` option to `poetry install`.
poetry-install--only:
description: Wrapper around argument of `poetry install --only`.
poetry-install--only-root:
description: Whether use `--only-root` option to `poetry install`.
poetry-install--with:
description: 'Wrapper around argument of `poetry install --with`.'
poetry-install--without:
description: Wrapper around argument of `poetry install --without`.
outputs:
poetry-cache-hit:
description: |
'A boolean value to indicate a cache entry of poetry installation was found'
# Wrapper around `setup-python`
cache-hit:
description: 'Wrapper around `cache-hit` output of actions/setup-python.'
python-path:
description: 'Wrapper around `python-path` output of actions/setup-python.'
python-version:
description: |
'Wrapper around `python-version` output of actions/setup-python.'
runs:
using: 'node16'
main: 'dist/setup/index.js'
post: 'dist/cache-save/index.js'
post-if: success()