Commit e8806a2 1 parent 96c3c71 commit e8806a2 Copy full SHA for e8806a2
File tree 1 file changed +59
-0
lines changed
1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*'
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+ publish :
11
+ name : Publish for ${{ matrix.os }}
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ target :
16
+ - x86_64-unknown-linux-musl
17
+ - x86_64-apple-darwin
18
+ - x86_64-pc-windows-msvc
19
+ - i686-pc-windows-msvc
20
+ - aarch64-pc-windows-msvc
21
+ include :
22
+ - target : x86_64-unknown-linux-musl
23
+ os : ubuntu-latest
24
+ - target : x86_64-apple-darwin
25
+ os : macos-latest
26
+ - target : x86_64-pc-windows-msvc
27
+ os : windows-latest
28
+ - target : i686-pc-windows-msvc
29
+ os : windows-latest
30
+ - target : aarch64-pc-windows-msvc
31
+ os : windows-latest
32
+
33
+ runs-on : ${{ matrix.os }}
34
+ environment : PyPI
35
+ steps :
36
+ - uses : actions/checkout@v2
37
+ - uses : actions/setup-python@v2
38
+ with :
39
+ python-version : 3.7
40
+ - uses : actions/setup-python@v2
41
+ with :
42
+ python-version : 3.8
43
+ - uses : actions/setup-python@v2
44
+ with :
45
+ python-version : 3.9
46
+ - uses : actions-rs/toolchain@v1
47
+ with :
48
+ profile : minimal
49
+ toolchain : stable
50
+ override : true
51
+
52
+ - name : Publish
53
+ uses : messense/maturin-action@v1
54
+ env :
55
+ MATURIN_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
56
+ with :
57
+ maturin-version : latest
58
+ command : publish
59
+ args : --username=__token__ --skip-existing
You can’t perform that action at this time.
0 commit comments