File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : tmate
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ os :
7
+ description : ' os'
8
+ type : string
9
+ required : false
10
+ default : " ubuntu-latest"
11
+ options :
12
+ - " macos-12"
13
+ - " ubuntu-latest"
14
+ py_ver :
15
+ description : ' py ver'
16
+ type : string
17
+ required : false
18
+ default : " 3.9"
19
+ options :
20
+ - " 3.12"
21
+ - " 3.11"
22
+ - " 3.10"
23
+ - " 3.9"
24
+ - " 3.8"
25
+ jobs :
26
+ tmate :
27
+ runs-on : ${{ inputs.os }}
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+ with :
31
+ persist-credentials : false
32
+ fetch-depth : 0
33
+ - uses : actions/setup-python@v5
34
+ with :
35
+ python-version : ${{ inputs.py_ver }}
36
+ - name : Install poetry
37
+ run : |
38
+ pipx install poetry
39
+ poetry install
40
+ shell : bash
41
+ - name : Setup tmate session
42
+ uses : mxschmitt/action-tmate@v3
You can’t perform that action at this time.
0 commit comments