File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11
11
# To fetch all the tags and history
12
12
with :
13
13
fetch-depth : 0
14
+ clean : false
14
15
15
16
- name : Bump version in Cargo.toml
16
17
run : |
Original file line number Diff line number Diff line change 37
37
- uses : dtolnay/rust-toolchain@master
38
38
with :
39
39
toolchain : stable
40
+
40
41
- uses : Swatinem/rust-cache@v2
41
42
42
43
- name : Bump version in Cargo.toml
@@ -51,11 +52,13 @@ jobs:
51
52
ls -la
52
53
ls -la dist
53
54
54
- - name : Publish to PyPi
55
- uses : pypa/gh-action-pypi-publish@v1.4.2
55
+ - name : Publish to PyPI
56
+ uses : PyO3/maturin-action@v1
57
+ env :
58
+ MATURIN_PYPI_TOKEN : ${{ secrets.PYPI_SECRET}}
56
59
with :
57
- user : __token__
58
- password : ${{ secrets.PYPI_SECRET }}
60
+ command : upload
61
+ args : --non-interactive --skip-existing dist/*
59
62
60
63
- name : Publish to crates.io
61
64
env :
You can’t perform that action at this time.
0 commit comments