File tree Expand file tree Collapse file tree 1 file changed +5
-28
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +5
-28
lines changed
Original file line number Diff line number Diff line change 12
12
strategy :
13
13
matrix :
14
14
os : [ubuntu-22.04]
15
- cibw_archs : ["aarch64", "x86_64"] # Define 'cibw_archs' as part of the job's strategy matrix
15
+ cibw_archs : ["aarch64", "x86_64"]
16
16
17
17
steps :
18
18
# Set up QEMU for ARM64 architecture
22
22
with :
23
23
platforms : arm64
24
24
25
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v4
26
26
with :
27
27
submodules : " recursive"
28
28
@@ -49,45 +49,22 @@ jobs:
49
49
package-dir : .
50
50
output-dir : wheelhouse
51
51
52
- - uses : actions/upload-artifact@v3
52
+ - uses : actions/upload-artifact@v4
53
53
with :
54
54
path : ./wheelhouse/*.whl
55
-
56
- build_sdist :
57
- name : Build source distribution
58
- runs-on : ubuntu-latest
59
-
60
- steps :
61
- - uses : actions/checkout@v3
62
- with :
63
- submodules : " recursive"
64
- - uses : actions/setup-python@v3
65
- with :
66
- python-version : " 3.10"
67
- - name : Install dependencies
68
- run : |
69
- python -m pip install --upgrade pip build
70
- python -m pip install -e .[all]
71
- - name : Build source distribution
72
- run : |
73
- python -m build --sdist
74
- - uses : actions/upload-artifact@v3
75
- with :
76
- path : ./dist/*.tar.gz
77
55
78
56
release :
79
57
name : Release
80
- needs : [build_wheels, build_sdist ]
58
+ needs : [build_wheels]
81
59
runs-on : ubuntu-latest
82
-
83
60
steps :
84
61
- uses : actions/download-artifact@v3
85
62
with :
86
63
name : artifact
87
64
path : dist
88
65
- id : tag
89
66
run : |
90
- echo "::set-output name= release_tag:: $(date +"%Y.%m.%d_%H-%M")"
67
+ echo "release_tag= $(date +"%Y.%m.%d_%H-%M")" >> "$GITHUB_OUTPUT "
91
68
- uses : softprops/action-gh-release@v1
92
69
with :
93
70
tag_name : ${{ steps.tag.outputs.release_tag }}
You can’t perform that action at this time.
0 commit comments