We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0859da commit 659562fCopy full SHA for 659562f
1 file changed
.github/workflows/publish-pypi-release.yml
@@ -0,0 +1,30 @@
1
+
2
+name: Upload FastOMA to pypi
3
4
+on:
5
+ push:
6
+ tags:
7
+ - v*
8
9
+jobs:
10
+ deploy:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: '3.x'
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install hatch
24
+ - name: Build package
25
+ run: hatch build
26
+ - name: Publish package
27
+ uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
28
29
+ user: __token__
30
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments