-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathaction.yml
More file actions
24 lines (24 loc) · 883 Bytes
/
action.yml
File metadata and controls
24 lines (24 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: deadsnakes
description: install (pre-release) pythons from deadsnakes
inputs:
python-version:
description: python version to use, such as '3.9'
required: true
debug:
description: use debug version of python
required: false
default: false
nogil:
description: use free-threaded version of python
required: false
default: false
tk:
description: include Tkinter
required: false
default: false
runs:
using: composite
steps:
- name: add deadsnakes ppa and install ${{ inputs.python-version }} ${{ inputs.debug == 'true' && '(debug)' || '' }} ${{ inputs.tk == 'true' && '(tk)' || '' }}
run: ${{ github.action_path }}/bin/install-python ${{ inputs.python-version }} ${{ inputs.debug == 'true' && '--debug' || '' }} ${{ inputs.nogil == 'true' && '--nogil' || '' }} ${{ inputs.tk == 'true' && '--tk' || '' }}
shell: bash