13
13
name : Build Distribution
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v3
17
- - uses : actions/setup-python@v4
16
+ - uses : actions/checkout@v4.2.2
17
+ - uses : actions/setup-python@v5.3.0
18
18
with :
19
19
python-version : ' 3.12'
20
20
- name : Install dependencies
28
28
run : |
29
29
python3 -m twine check dist/*
30
30
- name : Upload wheel and sdist
31
- uses : actions/upload-artifact@v4
31
+ uses : actions/upload-artifact@v4.4.3
32
32
with :
33
33
name : wheels
34
34
path : dist
@@ -41,11 +41,11 @@ jobs:
41
41
python : ["3.10", 3.11, 3.12]
42
42
steps :
43
43
- name : Download wheels
44
- uses : actions/download-artifact@v4
44
+ uses : actions/download-artifact@v4.1.8
45
45
with :
46
46
name : wheels
47
47
- name : Set up Python ${{ matrix.python }}
48
- uses : actions/setup-python@v4
48
+ uses : actions/setup-python@v5.3.0
49
49
with :
50
50
python-version : ${{ matrix.python }}
51
51
- name : Install wheel and test
@@ -64,11 +64,11 @@ jobs:
64
64
wordsize : [64]
65
65
steps :
66
66
- name : Download wheels
67
- uses : actions/download-artifact@v4
67
+ uses : actions/download-artifact@v4.1.8
68
68
with :
69
69
name : wheels
70
70
- name : Set up Python ${{ matrix.python }}
71
- uses : actions/setup-python@v4
71
+ uses : actions/setup-python@v5.3.0
72
72
with :
73
73
python-version : ${{ matrix.python }}
74
74
- name : Install wheel and test
@@ -87,11 +87,11 @@ jobs:
87
87
python : ["3.10", 3.11, 3.12]
88
88
steps :
89
89
- name : Download wheels
90
- uses : actions/download-artifact@v4
90
+ uses : actions/download-artifact@v4.1.8
91
91
with :
92
92
name : wheels
93
93
- name : Set up Python
94
- uses : actions/setup-python@v4
94
+ uses : actions/setup-python@v5.3.0
95
95
with :
96
96
python-version : ${{ matrix.python }}
97
97
- name : Install wheel and test
@@ -109,17 +109,17 @@ jobs:
109
109
id-token : write
110
110
steps :
111
111
- name : Download all
112
- uses : actions/download-artifact@v4
112
+ uses : actions/download-artifact@v4.1.8
113
113
- name : Move to dist
114
114
run : |
115
115
mkdir dist
116
116
cp */*.{whl,gz} dist/.
117
117
- name : Publish distribution to Test PyPI
118
118
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
119
- uses : pypa/gh-action-pypi-publish@release/v1
119
+ uses : pypa/gh-action-pypi-publish@v1.12.3
120
120
with :
121
121
repository_url : https://test.pypi.org/legacy/
122
122
- name : Publish distribution to PRODUCTION PyPI
123
123
if : github.event_name == 'release'
124
- uses : pypa/gh-action-pypi-publish@release/v1
124
+ uses : pypa/gh-action-pypi-publish@v1.12.3
125
125
0 commit comments