We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baf1179 commit 50bc3c8Copy full SHA for 50bc3c8
.github/workflows/release.yml
@@ -0,0 +1,24 @@
1
+jobs:
2
+ pypi-publish:
3
+ name: Upload release to PyPI
4
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
5
+ runs-on: ubuntu-latest
6
+ environment:
7
+ name: pypi
8
+ url: https://pypi.org/p/pysodium
9
+ permissions:
10
+ id-token: write
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v3
15
+ with:
16
+ python-version: '3.x'
17
+ - name: Install dependencies
18
+ run: |
19
+ python -m pip install --upgrade pip
20
+ pip install build
21
+ - name: Build package
22
+ run: python -m build
23
+ - name: Publish package distributions to PyPI
24
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments