We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0df46cd commit 96ebb26Copy full SHA for 96ebb26
.github/workflows/release.yml
@@ -0,0 +1,29 @@
1
+name: Release to PyPI
2
+
3
+on:
4
+ push:
5
+ tags: ['v*']
6
7
+jobs:
8
+ release:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write # for trusted publishing
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Install Nix
16
+ uses: cachix/install-nix-action@v27
17
+ with:
18
+ extra_nix_config: |
19
+ experimental-features = nix-command flakes
20
21
+ # likely we don't need to have these bindings in the actual repo
22
+ - name: Generate LCM bindings
23
+ run: nix develop --command ./generate.sh
24
25
+ - name: Build package
26
+ run: nix develop --command python -m build
27
28
+ - name: Publish to PyPI
29
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments