9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
12
- - uses : actions/checkout@v2
13
- - name : Set up Python 3.7
14
- uses : actions/setup-python@v2
12
+ - uses : actions/checkout@v3
13
+ - name : Set up Python
14
+ uses : actions/setup-python@v4
15
15
with :
16
- python-version : 3.7
16
+ python-version : " 3.x "
17
17
- name : Install dependencies
18
18
run : |
19
19
python -m pip install --upgrade pip
33
33
node-version : [12.x]
34
34
35
35
steps :
36
- - uses : actions/checkout@v2
36
+ - uses : actions/checkout@v3
37
37
- name : Use Node.js ${{ matrix.node-version }}
38
- uses : actions/setup-node@v2
38
+ uses : actions/setup-node@v3
39
39
with :
40
40
node-version : ${{ matrix.node-version }}
41
41
- run : npm ci
@@ -48,12 +48,12 @@ jobs:
48
48
runs-on : ubuntu-latest
49
49
strategy :
50
50
matrix :
51
- python-version : [3.7, 3.8, 3.9]
51
+ python-version : [" 3.7", " 3.8", " 3.9", "3.10" ]
52
52
53
53
steps :
54
- - uses : actions/checkout@v2
54
+ - uses : actions/checkout@v3
55
55
- name : Set up Python ${{ matrix.python-version }}
56
- uses : actions/setup-python@v2
56
+ uses : actions/setup-python@v4
57
57
with :
58
58
python-version : ${{ matrix.python-version }}
59
59
- name : Install dependencies
@@ -69,24 +69,24 @@ jobs:
69
69
70
70
publish :
71
71
72
- name : Publish to PyPi
72
+ name : Publish to PyPI
73
73
needs : [pre-commit, docs]
74
74
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
75
75
runs-on : ubuntu-latest
76
76
steps :
77
77
- name : Checkout source
78
- uses : actions/checkout@v2
79
- - name : Set up Python 3.8
80
- uses : actions/setup-python@v1
78
+ uses : actions/checkout@v3
79
+ - name : Set up Python
80
+ uses : actions/setup-python@v4
81
81
with :
82
- python-version : " 3.8 "
82
+ python-version : " 3.x "
83
83
- name : Build package
84
84
run : |
85
85
pip install build
86
86
git submodule update --init
87
87
python -m build
88
88
- name : Publish
89
- uses : pypa/gh-action-pypi-publish@v1.4.2
89
+ uses : pypa/gh-action-pypi-publish@v1.5.1
90
90
with :
91
91
user : __token__
92
92
password : ${{ secrets.PYPI_KEY }}
0 commit comments