We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa2c08f commit 2744c33Copy full SHA for 2744c33
.github/workflows/publish.yml
@@ -0,0 +1,34 @@
1
+name: Publish CADET-Python-Sim to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ build-and-publish:
9
+ name: Build and publish CADET-Process to PyPI
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@master
13
+ - name: Set up Python 3.10
14
+ uses: actions/setup-python@v5
15
+ with:
16
+ python-version: '3.10'
17
+ - name: Install pypa/build
18
+ run: >-
19
+ python -m
20
+ pip install
21
+ build
22
+ --user
23
+ - name: Build a binary wheel and a source tarball
24
25
26
27
+ --sdist
28
+ --wheel
29
+ --outdir dist/
30
+ .
31
+ - name: Publish distribution PyPI
32
+ uses: pypa/gh-action-pypi-publish@release/v1
33
34
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments