We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ddee68 commit 0923ad9Copy full SHA for 0923ad9
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,22 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+env:
8
+ CARGO_TERM_COLOR: always
9
10
+jobs:
11
+ deploy:
12
+ name: Upload to crates.io
13
+ runs-on: ubuntu-latest
14
+ environment:
15
+ name: crates.io
16
+ url: https://crates.io/crates/rustpython-unparser
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - name: Publish
20
+ run: cargo publish
21
+ env:
22
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
0 commit comments